Class BadRequestException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalFormParameterException, IllegalPathParameterException, IllegalQueryParameterException, IllegalRequestCookieException, IllegalRequestHeaderException, MissingFormParameterException, MissingQueryParameterException, MissingRequestBodyException, MissingRequestCookieException, MissingRequestHeaderException

public class BadRequestException extends RuntimeException
Indicates that an illegally-formatted HTTP request was made.

Examples:

  • Missing query parameter
  • incorrectly-formatted path parameter

This normally corresponds to an HTTP 400 response.

Since:
1.0.0
Author:
Mark Allen
See Also:
  • Constructor Details

    • BadRequestException

      public BadRequestException(String message)
    • BadRequestException

      public BadRequestException(Throwable cause)
    • BadRequestException

      public BadRequestException(String message, Throwable cause)