Module dev.metaschema.core
Class InvalidValueForCastFunctionException
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.InvalidArgumentFunctionException
dev.metaschema.core.metapath.function.InvalidValueForCastFunctionException
- All Implemented Interfaces:
Serializable
FORG0001: Thrown when a cast operation fails because the supplied value
cannot be converted to the target datatype.
- See Also:
-
Field Summary
Fields inherited from class dev.metaschema.core.metapath.function.InvalidArgumentFunctionException
DATE_TIME_INCONSISTENT_TIMEZONE, INVALID_ARGUMENT_EXACTLY_ONE, INVALID_ARGUMENT_ONE_OR_MORE, INVALID_ARGUMENT_TO_RESOLVE_URI, INVALID_ARGUMENT_TYPE, INVALID_ARGUMENT_ZERO_OR_ONE, INVALID_VALUE_FOR_CAST -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with the providedmessageand no cause.InvalidValueForCastFunctionException(String message, Throwable cause) Constructs a new exception with the providedmessageandcause.Constructs a new exception with no message and the providedcause. -
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
-
Constructor Details
-
InvalidValueForCastFunctionException
Constructs a new exception with the providedmessageand no cause.- Parameters:
message- the exception message
-
InvalidValueForCastFunctionException
Constructs a new exception with the providedmessageandcause.- Parameters:
message- the exception messagecause- the original exception cause
-
InvalidValueForCastFunctionException
Constructs a new exception with no message and the providedcause.- Parameters:
cause- the original exception cause
-