Package com.luna.common.exception
Class BaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.luna.common.exception.BaseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ValidateException
- Author:
- luna
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BaseException
static final BaseException
static final BaseException
static final BaseException
static final BaseException
static final BaseException
static final BaseException
-
Constructor Summary
ConstructorDescriptionBaseException
(int code, String message) BaseException
(int status, String msg, Throwable throwable) BaseException
(int status, Throwable throwable) BaseException
(BaseException baseException, String... extendMessage) BaseException
(String message) BaseException
(String msg, Throwable throwable) BaseException
(Throwable cause) BaseException
(Throwable cause, int code) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
SYSTEM_ERROR
-
UNKNOWN
-
PARAMETER_ERROR
-
MISSING
-
PARAMETER_OVERFLOW
-
REPEAT_OPERATION
-
UN_SUPPORT_ENCRYPT_TYPE
-
-
Constructor Details
-
BaseException
-
BaseException
-
BaseException
-
BaseException
-
BaseException
-
BaseException
-
BaseException
-
BaseException
-
BaseException
public BaseException()
-
-
Method Details
-
isBaseException
-
getCode
public int getCode() -
getMessage
- Overrides:
getMessage
in classThrowable
-