Module dev.metaschema.core
Class FunctionMetapathError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.metaschema.core.metapath.MetapathException
dev.metaschema.core.metapath.function.FunctionMetapathError
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ArithmeticFunctionException,dev.metaschema.core.metapath.item.function.impl.ArrayMetapathException,CastFunctionException,DateTimeFunctionException,DocumentFunctionException,InvalidArgumentFunctionException,InvalidTypeFunctionException,JsonFunctionException,UnidentifiedFunctionError,UriFunctionException
Represents an error that occurs during Metapath function evaluation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionMetapathError(IErrorCode errorCode, String message) Constructs a new Metapath exception with the providedcode,message, and no cause.FunctionMetapathError(IErrorCode errorCode, String message, Throwable cause) Constructs a new Metapath exception with the providedcode,message, andcause.FunctionMetapathError(IErrorCode errorCode, Throwable cause) Constructs a new Metapath exception with anullmessage 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
-
FunctionMetapathError
Constructs a new Metapath exception with the providedcode,message, and no cause.- Parameters:
errorCode- the error code that identifies the type of errormessage- the exception message
-
FunctionMetapathError
public FunctionMetapathError(@NonNull IErrorCode errorCode, @Nullable String message, @Nullable Throwable cause) Constructs a new Metapath exception with the providedcode,message, andcause.- Parameters:
errorCode- the error code that identifies the type of errormessage- the exception messagecause- the original exception cause
-
FunctionMetapathError
Constructs a new Metapath exception with anullmessage and the providedcause.- Parameters:
errorCode- the error code that identifies the type of errorcause- the original exception cause
-