Module dev.metaschema.core
Class FormatDateTimeFunctionException
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.FormatDateTimeFunctionException
- All Implemented Interfaces:
Serializable
FOFD: Exceptions related to errors in formatting date/time values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final interr:FOFD1350: Raised when a component specifier within a picture string refers to a component that is not available in the value being formatted.static final interr:FOFD1340: Raised when the picture string supplied to a date/time formatting function does not conform to the required syntax. -
Constructor Summary
ConstructorsConstructorDescriptionFormatDateTimeFunctionException(int code, String message) Constructs a new exception with the providedcode,message, and no cause.FormatDateTimeFunctionException(int code, String message, Throwable cause) Constructs a new exception with the providedcode,message, andcause.FormatDateTimeFunctionException(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_PICTURE_STRING
public static final int INVALID_PICTURE_STRINGerr:FOFD1340: Raised when the picture string supplied to a date/time formatting function does not conform to the required syntax.- See Also:
-
COMPONENT_NOT_AVAILABLE
public static final int COMPONENT_NOT_AVAILABLEerr:FOFD1350: Raised when a component specifier within a picture string refers to a component that is not available in the value being formatted.- See Also:
-
-
Constructor Details
-
FormatDateTimeFunctionException
Constructs a new exception with the providedcode,message, and no cause.- Parameters:
code- the error code valuemessage- the exception message
-
FormatDateTimeFunctionException
Constructs a new exception with the providedcode,message, andcause.- Parameters:
code- the error code valuemessage- the exception messagecause- the original exception cause
-
FormatDateTimeFunctionException
Constructs a new exception with the providedcode, no message, and thecause.- Parameters:
code- the error code valuecause- the original exception cause
-