Class UriFunctionException

All Implemented Interfaces:
Serializable

public class UriFunctionException extends FunctionMetapathError
FONS: Exceptions related to function namespaces.
See Also:
  • Field Details

    • NO_NAMESPACE_FOUND_FOR_PREFIX

      public static final int NO_NAMESPACE_FOUND_FOR_PREFIX
      err:FONS0004: Raised by fn:resolve-QName and analogous functions if a supplied QName has a prefix that has no binding to a namespace.
      See Also:
    • BASE_URI_NOT_DEFINED_IN_STATIC_CONTEXT

      public static final int BASE_URI_NOT_DEFINED_IN_STATIC_CONTEXT
      err:FONS0005: Raised by FnResolveUri if no base URI is available for resolving a relative URI.
      See Also:
  • Constructor Details

    • UriFunctionException

      public UriFunctionException(int code, String message)
      Constructs a new exception with the provided code, message, and no cause.
      Parameters:
      code - the error code value
      message - the exception message
    • UriFunctionException

      public UriFunctionException(int code, String message, Throwable cause)
      Constructs a new exception with the provided code, message, and cause.
      Parameters:
      code - the error code value
      message - the exception message
      cause - the original exception cause
    • UriFunctionException

      public UriFunctionException(int code, Throwable cause)
      Constructs a new exception with the provided code, no message, and the cause.
      Parameters:
      code - the error code value
      cause - the original exception cause