Class BadRequestException

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

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

    • BadRequestException

      public BadRequestException(String aMessage, String aErrorCode)
      Instantiates a new bad request exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • BadRequestException

      public BadRequestException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new bad request exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • BadRequestException

      public BadRequestException(String message, Throwable cause)
      Instantiates a new bad request exception.
      Parameters:
      message - the message
      cause - the cause
    • BadRequestException

      public BadRequestException(String message)
      Instantiates a new bad request exception.
      Parameters:
      message - the message
    • BadRequestException

      public BadRequestException(Throwable aCause, String aErrorCode)
      Instantiates a new bad request exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • BadRequestException

      public BadRequestException(Throwable cause)
      Instantiates a new bad request exception.
      Parameters:
      cause - the cause