Class BadRequestException

All Implemented Interfaces:
Serializable, Response
Direct Known Subclasses:
CreateNotSupportedException

public class BadRequestException extends ResourceException
An exception that is thrown during a operation on a resource when the requested operation is malformed.
See Also:
  • Constructor Details

    • BadRequestException

      public BadRequestException()
      Constructs a new exception with null as its detail message.
    • BadRequestException

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

      public BadRequestException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - The detail message.
      cause - The exception which caused this exception to be thrown.
    • BadRequestException

      public BadRequestException(Throwable cause)
      Constructs a new exception with the specified cause.
      Parameters:
      cause - The exception which caused this exception to be thrown.