Class BadRequestException

All Implemented Interfaces:
Serializable

public class BadRequestException extends SuperException
Represents an exception indicating a bad request from the client. Extends the SuperException class and sets the HTTP status to 400 Bad Request.
Since:
0.1.0
See Also:
  • Constructor Details

    • BadRequestException

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

      public BadRequestException(String message, Throwable cause)
      Constructs a new BadRequestException with the given message.
      Parameters:
      message - The error message.
      cause - The cause of the exception as a Throwable.