Class ExpectationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.team33.patterns.exceptional.dione.ExpectationException
- All Implemented Interfaces:
Serializable
An unchecked exception that is used to signal an unexpected state, particularly an unexpected exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExpectationException(String message) Initializes a new instance with the given message.ExpectationException(String message, Throwable cause) Initializes a new instance with the given message and cause.ExpectationException(Throwable cause) Initializes a new instance with the given cause and itsmessage. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExpectationException
Initializes a new instance with the given message. -
ExpectationException
Initializes a new instance with the given message and cause. -
ExpectationException
Initializes a new instance with the given cause and itsmessage.
-