Class ExpectationViolationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidStateException

public class ExpectationViolationException extends SilverpeasRuntimeException
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 Details

    • ExpectationViolationException

      public ExpectationViolationException(String message)
    • ExpectationViolationException

      public ExpectationViolationException(String message, Throwable cause)
    • ExpectationViolationException

      public ExpectationViolationException(Throwable cause)