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
MetapathExceptionis 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 anullmessage and no cause.MetapathException(String message)Constructs a new Metapath exception with the providedmessageand no cause.MetapathException(String message, Throwable cause)Constructs a new Metapath exception with the providedmessageandcause.MetapathException(Throwable cause)Constructs a new Metapath exception with anullmessage 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 anullmessage and no cause.
-
MetapathException
public MetapathException(String message)
Constructs a new Metapath exception with the providedmessageand no cause.- Parameters:
message- the exception message
-
MetapathException
public MetapathException(Throwable cause)
Constructs a new Metapath exception with anullmessage and the providedcause.- Parameters:
cause- the exception cause
-
MetapathException
public MetapathException(String message, Throwable cause)
Constructs a new Metapath exception with the providedmessageandcause.- Parameters:
message- the exception messagecause- the exception cause
-
-