Class MetapathException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- gov.nist.secauto.metaschema.core.metapath.MetapathException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractCodedMetapathException
public class MetapathException extends RuntimeException
MetapathException
is the superclass of all exceptions that can be thrown during the compilation and evaluation of a Metapath.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetapathException()
Constructs a new Metapath exception with anull
message and no cause.MetapathException(String message)
Constructs a new Metapath exception with the providedmessage
and no cause.MetapathException(String message, Throwable cause)
Constructs a new Metapath exception with the providedmessage
andcause
.MetapathException(Throwable cause)
Constructs a new Metapath exception with anull
message and the providedcause
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MetapathException
public MetapathException()
Constructs a new Metapath exception with anull
message and no cause.
-
MetapathException
public MetapathException(String message)
Constructs a new Metapath exception with the providedmessage
and no cause.- Parameters:
message
- the exception message
-
MetapathException
public MetapathException(Throwable cause)
Constructs a new Metapath exception with anull
message and the providedcause
.- Parameters:
cause
- the exception cause
-
MetapathException
public MetapathException(String message, Throwable cause)
Constructs a new Metapath exception with the providedmessage
andcause
.- Parameters:
message
- the exception messagecause
- the exception cause
-
-