Class ExpectationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.team33.patterns.exceptional.dione.ExpectationException
All Implemented Interfaces:
Serializable

public class ExpectationException extends RuntimeException
An unchecked exception that is used to signal an unexpected state, particularly an unexpected exception.
See Also:
  • Constructor Details

    • ExpectationException

      public ExpectationException(String message)
      Initializes a new instance with the given message.
    • ExpectationException

      public ExpectationException(String message, Throwable cause)
      Initializes a new instance with the given message and cause.
    • ExpectationException

      public ExpectationException(Throwable cause)
      Initializes a new instance with the given cause and its message.