java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
dev.metaschema.core.model.ModelInitializationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConstraintInitializationException
Identifies that an unexpected error occurred while initializing or using a
Metaschema-based model.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionModelInitializationException(String message) Constructs a new exception with the providedmessageand no cause.ModelInitializationException(String message, Throwable cause) Constructs a new exception with the providedmessageandcause.Constructs a new exception with 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 Details
-
ModelInitializationException
Constructs a new exception with the providedmessageand no cause.- Parameters:
message- the exception message
-
ModelInitializationException
Constructs a new exception with the providedcause.The message used will be the message provided by the underlying cause.
- Parameters:
cause- the original exception cause
-
ModelInitializationException
Constructs a new exception with the providedmessageandcause.- Parameters:
message- the exception messagecause- the original exception cause
-