Package org.silverpeas.kernel.exception
Class ExpectationViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.silverpeas.kernel.SilverpeasRuntimeException
org.silverpeas.kernel.exception.ExpectationViolationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidStateException
Exception thrown when an object or an operation execution doesn't match the expectations of
the invoker. An example of expectation can be the type a bean should satisfy or the state in
which an object should be.
- Author:
- mmoquillon
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExpectationViolationException(String message) ExpectationViolationException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExpectationViolationException
-
ExpectationViolationException
-
ExpectationViolationException
-