Class TypeMetapathException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- gov.nist.secauto.metaschema.core.metapath.MetapathException
-
- gov.nist.secauto.metaschema.core.metapath.AbstractCodedMetapathException
-
- gov.nist.secauto.metaschema.core.metapath.TypeMetapathException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidTypeMetapathException
public class TypeMetapathException extends AbstractCodedMetapathException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BASE_PATH_NOT_A_SEQUENCE
E1 in a path expression E1/E2 does not evaluate to a sequence of nodes.static int
INVALID_TYPE_ERROR
static int
NOT_A_NODE_ITEM_FOR_STEP
The context item is not a node when evaluating an axisStep
.
-
Constructor Summary
Constructors Constructor Description TypeMetapathException(int code, String message)
TypeMetapathException(int code, String message, Throwable cause)
TypeMetapathException(int code, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getCodePrefix()
Get the error code family.-
Methods inherited from class gov.nist.secauto.metaschema.core.metapath.AbstractCodedMetapathException
getCode, getCodeAsString, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
INVALID_TYPE_ERROR
public static final int INVALID_TYPE_ERROR
- See Also:
- Constant Field Values
-
BASE_PATH_NOT_A_SEQUENCE
public static final int BASE_PATH_NOT_A_SEQUENCE
E1 in a path expression E1/E2 does not evaluate to a sequence of nodes.- See Also:
- Constant Field Values
-
NOT_A_NODE_ITEM_FOR_STEP
public static final int NOT_A_NODE_ITEM_FOR_STEP
The context item is not a node when evaluating an axisStep
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TypeMetapathException
public TypeMetapathException(int code, String message, Throwable cause)
-
TypeMetapathException
public TypeMetapathException(int code, String message)
-
TypeMetapathException
public TypeMetapathException(int code, Throwable cause)
-
-
Method Detail
-
getCodePrefix
protected String getCodePrefix()
Description copied from class:AbstractCodedMetapathException
Get the error code family.- Specified by:
getCodePrefix
in classAbstractCodedMetapathException
- Returns:
- the error code family
-
-