Package org.chenile.base.exception
Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.chenile.base.exception.ErrorNumException
org.chenile.base.exception.BadRequestException
- All Implemented Interfaces:
Serializable
ErrorNumException
with HTTP status code of 400.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBadRequestException
(int subErrorNum, Object[] params) BadRequestException
(int subErrorNum, Object[] params, Throwable cause) BadRequestException
(int subErrorNum, String message) BadRequestException
(int subErrorNum, String message, Throwable cause) BadRequestException
(String message) BadRequestException
(String message, Throwable cause) -
Method Summary
Methods inherited from class org.chenile.base.exception.ErrorNumException
addError, getErrorNum, getErrors, getMessage, getParams, getResponseMessage, getSubErrorNum, setMessage, setParams, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
BadRequestException
- Parameters:
subErrorNum
- sub error codemessage
- the exception message
-
BadRequestException
- Parameters:
subErrorNum
- sub error codeparams
- params that need to be substituted in the resource bundle
-
BadRequestException
- Parameters:
message
- the exception messagecause
- the original cause of the exception
-
BadRequestException
- Parameters:
message
- the exception message
-
BadRequestException
- Parameters:
subErrorNum
- sub error codemessage
- the exception messagecause
- the original cause of the exception
-
BadRequestException
- Parameters:
subErrorNum
- sub error codeparams
- params that need to be substituted in the resource bundlecause
- the original cause of the exception
-