Module dev.metaschema.core
Package dev.metaschema.core.metapath
Class InvalidMetapathGrammarException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.metaschema.core.metapath.MetapathException
dev.metaschema.core.metapath.StaticMetapathException
dev.metaschema.core.metapath.InvalidMetapathGrammarException
- All Implemented Interfaces:
Serializable
An exception to be raised when a Metapath is not a valid instance of the
Metapath grammar.
This exception is associated with the
StaticMetapathException.INVALID_PATH_GRAMMAR error code.
- See Also:
-
Field Summary
Fields inherited from class dev.metaschema.core.metapath.StaticMetapathException
AXIS_NAMESPACE_UNSUPPORTED, AXIS_NAMESPACE_UNSUPPORTED_IN_TEST, CAST_ANY_ATOMIC, CAST_UNKNOWN_TYPE, INVALID_PATH_GRAMMAR, NAMESPACE_MISUSE, NO_FUNCTION_MATCH, NOT_DEFINED, PREFIX_NOT_EXPANDABLE, UNKNOWN_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionInvalidMetapathGrammarException(String message) Constructs a new exception with the providedmessageand no cause.InvalidMetapathGrammarException(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
-
InvalidMetapathGrammarException
Constructs a new exception with the providedmessageandcause.- Parameters:
message- the exception messagecause- the original exception cause
-
InvalidMetapathGrammarException
Constructs a new exception with the providedmessageand no cause.- Parameters:
message- the exception message
-
InvalidMetapathGrammarException
Constructs a new exception with no message and the providedcause.- Parameters:
cause- the original exception cause
-