Package org.chenile.base.exception
Class ServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.chenile.base.exception.ErrorNumException
org.chenile.base.exception.ServerException
- All Implemented Interfaces:
Serializable
ErrorNumException
with HTTP status code of 500 for runtime errors.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionServerException
(int subErrorNum, Object[] params) ServerException
(int subErrorNum, Object[] params, Throwable cause) ServerException
(int subErrorNum, String message) ServerException
(int subErrorNum, String message, Throwable cause) ServerException
(String message) ServerException
(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
-
ServerException
- Parameters:
message
-cause
-
-
ServerException
- Parameters:
message
-
-
ServerException
- Parameters:
message
-
-
ServerException
- Parameters:
subErrorNum
-params
-
-
ServerException
- Parameters:
subErrorNum
-message
-cause
-
-
ServerException
-