Uses of Class
dev.metaschema.core.metapath.MetapathException
Packages that use MetapathException
Package
Description
Provides the core Metapath expression language implementation.
Provides the core framework for defining and executing Metapath functions.
Provides regular expression support for implementing Metapath functions.
Provides support for Metapath function items, including arrays and maps.
Provides support for Metapath type system and sequence type testing.
Metaschema constraint definitions and validation framework.
-
Uses of MetapathException in dev.metaschema.core.metapath
Subclasses of MetapathException in dev.metaschema.core.metapathModifier and TypeClassDescriptionclasserr:MPDY0002: It is a dynamic error if evaluation of an expression relies on some part of the dynamic context that is absent.classMPDY: Exceptions related to the Metapath dynamic context and dynamic evaluation.classAn exception to be raised when a Metapath is not a valid instance of the Metapath grammar.classRaised when a Metapath treat expression fails because the sequence does not match the required type.classMPST: Exceptions related to the Metapath static context and static evaluation.Methods in dev.metaschema.core.metapath that return MetapathExceptionModifier and TypeMethodDescriptionfinal MetapathExceptionMetapathException.registerEvaluationContext(DynamicContext dynamicContext) Registers the evaluation context from the provided dynamic context.final MetapathExceptionMetapathException.registerEvaluationContext(IMetapathExpression metapath) Registers the evaluation context from the provided metapath expression.final MetapathExceptionMetapathException.registerEvaluationContext(Deque<? extends IExpression> stack) Registers the evaluation context from the provided evaluation stack. -
Uses of MetapathException in dev.metaschema.core.metapath.function
Subclasses of MetapathException in dev.metaschema.core.metapath.functionModifier and TypeClassDescriptionclassRepresents an error that occurred while performing mathematical operations.classFOCA: Exceptions related to type casting.classFODT: Exceptions related to Date/Time/Duration errors.classFODC: Exceptions representing document related errors.classRepresents an error that occurs during Metapath function evaluation.classFORG: Exceptions related to argument types.classFOTY: Exceptions related to type errors.classFORG0001: Thrown when a cast operation fails because the supplied value cannot be converted to the target datatype.classFOJS: Exceptions related to JSON function operations in XPath.classFOER0000: Thrown when an unidentified error occurs during function evaluation.classFONS: Exceptions related to function namespaces. -
Uses of MetapathException in dev.metaschema.core.metapath.function.regex
Subclasses of MetapathException in dev.metaschema.core.metapath.function.regexModifier and TypeClassDescriptionclassMPRX: Exceptions related to regular expression processing in Metapath functions. -
Uses of MetapathException in dev.metaschema.core.metapath.item.function
Subclasses of MetapathException in dev.metaschema.core.metapath.item.functionModifier and TypeClassDescriptionclasserr:FOAY0001: This error is raised when an integer used to select a member of an array is outside the range of values for that array.classerr:FOAY0001: This error is raised when an integer used to select a member of an array is outside the range of values for that array. -
Uses of MetapathException in dev.metaschema.core.metapath.item.function.impl
Subclasses of MetapathException in dev.metaschema.core.metapath.item.function.implModifier and TypeClassDescriptionclassdev.metaschema.core.metapath.item.function.impl.ArrayMetapathExceptionRepresents an error that occurred while performing mathematical operations. -
Uses of MetapathException in dev.metaschema.core.metapath.type
Subclasses of MetapathException in dev.metaschema.core.metapath.typeModifier and TypeClassDescriptionclassProvides a convenient way to raise aTypeMetapathException.INVALID_TYPE_ERROR.classMPTY: Exceptions related to Metapath type errors. -
Uses of MetapathException in dev.metaschema.core.model.constraint
Methods in dev.metaschema.core.model.constraint with parameters of type MetapathExceptionModifier and TypeMethodDescriptionvoidFindingCollectingConstraintValidationHandler.handleKeyMatchError(IKeyConstraint constraint, INodeItem node, INodeItem target, MetapathException cause, DynamicContext dynamicContext) voidIConstraintValidationHandler.handleKeyMatchError(IKeyConstraint constraint, INodeItem node, INodeItem target, MetapathException exception, DynamicContext dynamicContext) Handle an error that occurred while generating a key.voidLoggingConstraintValidationHandler.handleKeyMatchError(IKeyConstraint constraint, INodeItem node, INodeItem target, MetapathException cause, DynamicContext dynamicContext)