Class BadRequestException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClientAbortException

public class BadRequestException extends IOException
Extend IOException to identify it as being caused by a bad request from a remote client.
See Also:
  • Constructor Details

    • BadRequestException

      public BadRequestException()
      Construct a new BadRequestException with no other information.
    • BadRequestException

      public BadRequestException(String message)
      Construct a new BadRequestException for the specified message.
      Parameters:
      message - Message describing this exception
    • BadRequestException

      public BadRequestException(Throwable throwable)
      Construct a new BadRequestException for the specified throwable.
      Parameters:
      throwable - Throwable that caused this exception
    • BadRequestException

      public BadRequestException(String message, Throwable throwable)
      Construct a new BadRequestException for the specified message and throwable.
      Parameters:
      message - Message describing this exception
      throwable - Throwable that caused this exception