Class BadRequestException

All Implemented Interfaces:
Serializable

public class BadRequestException extends RequestException
Exception thrown when the web client/caller passes in invalid data.

The HTTP status for this exception is 400 BAD_REQUEST.

Since:
1
Version:
1
See Also:
  • Constructor Details

    • BadRequestException

      public BadRequestException(String message)
      Constructs a new "bad request" exception with the specified message.
      Parameters:
      message - the detailed error message
      Since:
      1
    • BadRequestException

      public BadRequestException(Throwable cause)
      Constructs a new "bad request" exception with the specified cause.
      Parameters:
      cause - the exception that caused this exception
      Since:
      1
    • BadRequestException

      public BadRequestException(String message, Throwable cause)
      Constructs a new "bad request" exception with the specified message and cause.
      Parameters:
      message - the detailed error message
      cause - the exception that caused this exception
      Since:
      1