Class BadRequestException

All Implemented Interfaces:
Serializable

public class BadRequestException extends ErrorNumException
ErrorNumException with HTTP status code of 400.
See Also:
  • Field Details

  • Constructor Details

    • BadRequestException

      public BadRequestException(int subErrorNum, String message)
      Parameters:
      subErrorNum - sub error code
      message - the exception message
    • BadRequestException

      public BadRequestException(int subErrorNum, Object[] params)
      Parameters:
      subErrorNum - sub error code
      params - params that need to be substituted in the resource bundle
    • BadRequestException

      public BadRequestException(String message, Throwable cause)
      Parameters:
      message - the exception message
      cause - the original cause of the exception
    • BadRequestException

      public BadRequestException(String message)
      Parameters:
      message - the exception message
    • BadRequestException

      public BadRequestException(int subErrorNum, String message, Throwable cause)
      Parameters:
      subErrorNum - sub error code
      message - the exception message
      cause - the original cause of the exception
    • BadRequestException

      public BadRequestException(int subErrorNum, Object[] params, Throwable cause)
      Parameters:
      subErrorNum - sub error code
      params - params that need to be substituted in the resource bundle
      cause - the original cause of the exception