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.UriFunctionException
- All Implemented Interfaces:
Serializable
FONS: Exceptions related to function namespaces.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final interr:FONS0005: Raised byFnResolveUriif no base URI is available for resolving a relative URI.static final interr:FONS0004: Raised by fn:resolve-QName and analogous functions if a supplied QName has a prefix that has no binding to a namespace. -
Constructor Summary
ConstructorsConstructorDescriptionUriFunctionException(int code, String message) Constructs a new exception with the providedcode,message, and no cause.UriFunctionException(int code, String message, Throwable cause) Constructs a new exception with the providedcode,message, andcause.UriFunctionException(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
-
NO_NAMESPACE_FOUND_FOR_PREFIX
public static final int NO_NAMESPACE_FOUND_FOR_PREFIXerr: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_CONTEXTerr:FONS0005: Raised byFnResolveUriif no base URI is available for resolving a relative URI.- See Also:
-
-
Constructor Details
-
UriFunctionException
Constructs a new exception with the providedcode,message, and no cause.- Parameters:
code- the error code valuemessage- the exception message
-
UriFunctionException
Constructs a new exception with the providedcode,message, andcause.- Parameters:
code- the error code valuemessage- the exception messagecause- the original exception cause
-
UriFunctionException
Constructs a new exception with the providedcode, no message, and thecause.- Parameters:
code- the error code valuecause- the original exception cause
-