Module dev.metaschema.core
Class FormatFunctionException
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.FormatFunctionException
- All Implemented Interfaces:
Serializable
FODF: Exceptions related to formatting errors in Metapath functions such as
format-integer, format-number, format-dateTime, and
format-date.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final interr:FODF1310: Raised when a format token in a picture string is invalid. -
Constructor Summary
ConstructorsConstructorDescriptionFormatFunctionException(int code, String message) Constructs a new exception with the providedcode,message, and no cause.FormatFunctionException(int code, String message, Throwable cause) Constructs a new exception with the providedcode,message, andcause.FormatFunctionException(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
-
INVALID_FORMAT_TOKEN
public static final int INVALID_FORMAT_TOKENerr:FODF1310: Raised when a format token in a picture string is invalid.- See Also:
-
-
Constructor Details
-
FormatFunctionException
Constructs a new exception with the providedcode,message, and no cause.- Parameters:
code- the error code valuemessage- the exception message
-
FormatFunctionException
Constructs a new exception with the providedcode,message, andcause.- Parameters:
code- the error code valuemessage- the exception messagecause- the original exception cause
-
FormatFunctionException
Constructs a new exception with the providedcode, no message, and thecause.- Parameters:
code- the error code valuecause- the original exception cause
-