Class MetaschemaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- gov.nist.secauto.metaschema.core.model.MetaschemaException
-
- All Implemented Interfaces:
Serializable
public class MetaschemaException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetaschemaException(String message)
Create a new Metaschema exception with a provided message.MetaschemaException(String message, Throwable cause)
Create a new Metaschema exception with a provided message based on the provided cause.MetaschemaException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Create a new Metaschema exception with a provided message based on the provided cause.MetaschemaException(Throwable cause)
Create a new Metaschema exception based on the provided cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MetaschemaException
public MetaschemaException(String message)
Create a new Metaschema exception with a provided message.- Parameters:
message
- text describing the cause of the exception
-
MetaschemaException
public MetaschemaException(Throwable cause)
Create a new Metaschema exception based on the provided cause.- Parameters:
cause
- the exception that caused this exception
-
MetaschemaException
public MetaschemaException(String message, Throwable cause)
Create a new Metaschema exception with a provided message based on the provided cause.- Parameters:
message
- text describing the cause of the exceptioncause
- the exception that caused this exception
-
MetaschemaException
public MetaschemaException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Create a new Metaschema exception with a provided message based on the provided cause.- Parameters:
message
- text describing the cause of the exceptioncause
- the exception that caused this exceptionenableSuppression
- whether or not suppression is enabled or disabledwritableStackTrace
- whether or not the stack trace should be writable
-
-