Class DocumentFunctionException

All Implemented Interfaces:
Serializable

public class DocumentFunctionException extends FunctionMetapathError
FODC: Exceptions representing document related errors.
See Also:
  • Field Details

    • ERROR_RETRIEVING_RESOURCE

      public static final int ERROR_RETRIEVING_RESOURCE
      err:FODC0002: Raised by FnDoc, fn:collection, and fn:uri-collection to indicate that either the supplied URI cannot be dereferenced to obtain a resource, or the resource that is returned is not parseable as XML.
      See Also:
    • FUNCTION_NOT_DEFINED_AS_DETERMINISTIC

      public static final int FUNCTION_NOT_DEFINED_AS_DETERMINISTIC
      err:FODC0003: Raised by FnDoc, fn:collection, and fn:uri-collection to indicate that it is not possible to return a result that is guaranteed deterministic.
      See Also:
    • INVALID_ARGUMENT

      public static final int INVALID_ARGUMENT
      err:FODC0002: Raised (optionally) by FnDoc and fn:doc-available if the argument is not a valid URI reference.
      See Also:
  • Constructor Details

    • DocumentFunctionException

      public DocumentFunctionException(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
    • DocumentFunctionException

      public DocumentFunctionException(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
    • DocumentFunctionException

      public DocumentFunctionException(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