Module dev.metaschema.core
Class ConstraintInitializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
dev.metaschema.core.model.ModelInitializationException
dev.metaschema.core.model.constraint.ConstraintInitializationException
- All Implemented Interfaces:
Serializable
Identifies that an unexpected error occurred while initializing or using
constraints associated with a Metaschema-based model.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstraintInitializationException(String message) Constructs a new exception with the providedmessageand no cause.ConstraintInitializationException(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
-
ConstraintInitializationException
Constructs a new exception with the providedmessageand no cause.- Parameters:
message- the exception message
-
ConstraintInitializationException
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
-
ConstraintInitializationException
Constructs a new exception with the providedmessageandcause.- Parameters:
message- the exception messagecause- the original exception cause
-