Class BadRequestException

All Implemented Interfaces:
Serializable

@ResponseStatus(BAD_REQUEST) public class BadRequestException extends AbstractLocalifyException
Exception thrown when a client has issued a malformed or illegal request.
See Also:
  • Constructor Details

    • BadRequestException

      public BadRequestException()
      Constructs a new BadRequestException with a default message.
    • BadRequestException

      public BadRequestException(String message)
      Constructs a new BadRequestException with the specified message.
      Parameters:
      message - The detail message.
    • BadRequestException

      public BadRequestException(Throwable cause)
      Constructs a new BadRequestException with the specified cause.
      Parameters:
      cause - The cause.
    • BadRequestException

      public BadRequestException(String str, Throwable cause)
      Constructs a new BadRequestException with the specified message and cause.
      Parameters:
      str - The detail message.
      cause - The cause.