Module dev.metaschema.core
Class DocumentFunctionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.metaschema.core.metapath.MetapathException
dev.metaschema.core.metapath.function.FunctionMetapathError
dev.metaschema.core.metapath.function.DocumentFunctionException
- All Implemented Interfaces:
Serializable
FODC: Exceptions representing document related errors.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final interr:FODC0002: Raised byFnDoc, 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.static final interr:FODC0003: Raised byFnDoc, fn:collection, and fn:uri-collection to indicate that it is not possible to return a result that is guaranteed deterministic.static final interr:FODC0002: Raised (optionally) byFnDocand fn:doc-available if the argument is not a valid URI reference. -
Constructor Summary
ConstructorsConstructorDescriptionDocumentFunctionException(int code, String message) Constructs a new exception with the providedcode,message, and no cause.DocumentFunctionException(int code, String message, Throwable cause) Constructs a new exception with the providedcode,message, andcause.DocumentFunctionException(int code, Throwable cause) Constructs a new exception with the providedcode, no message, and thecause. -
Method Summary
Methods inherited from class dev.metaschema.core.metapath.MetapathException
getErrorCode, getEvaluationStack, getMessage, getMessageText, registerEvaluationContext, registerEvaluationContext, registerEvaluationContextMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_RETRIEVING_RESOURCE
public static final int ERROR_RETRIEVING_RESOURCEerr:FODC0002: Raised byFnDoc, 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_DETERMINISTICerr:FODC0003: Raised byFnDoc, 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_ARGUMENTerr:FODC0002: Raised (optionally) byFnDocand fn:doc-available if the argument is not a valid URI reference.- See Also:
-
-
Constructor Details
-
DocumentFunctionException
Constructs a new exception with the providedcode,message, and no cause.- Parameters:
code- the error code valuemessage- the exception message
-
DocumentFunctionException
Constructs a new exception with the providedcode,message, andcause.- Parameters:
code- the error code valuemessage- the exception messagecause- the original exception cause
-
DocumentFunctionException
Constructs a new exception with the providedcode, no message, and thecause.- Parameters:
code- the error code valuecause- the original exception cause
-