Class ExpectationFailedException

All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>

public class ExpectationFailedException extends HttpStatusException
The Class ExpectationFailedException.
See Also:
  • Constructor Details

    • ExpectationFailedException

      public ExpectationFailedException(String aMessage, String aErrorCode)
      Instantiates a new expectation failed exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • ExpectationFailedException

      public ExpectationFailedException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new expectation failed exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • ExpectationFailedException

      public ExpectationFailedException(String message, Throwable cause)
      Instantiates a new expectation failed exception.
      Parameters:
      message - the message
      cause - the cause
    • ExpectationFailedException

      public ExpectationFailedException(String message)
      Instantiates a new expectation failed exception.
      Parameters:
      message - the message
    • ExpectationFailedException

      public ExpectationFailedException(Throwable aCause, String aErrorCode)
      Instantiates a new expectation failed exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • ExpectationFailedException

      public ExpectationFailedException(Throwable cause)
      Instantiates a new expectation failed exception.
      Parameters:
      cause - the cause