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
FieldsModifier and TypeFieldDescriptionstatic final BaseExceptionstatic final BaseExceptionstatic final BaseExceptionstatic final BaseExceptionstatic final BaseExceptionstatic final BaseExceptionstatic final BaseException -
Constructor Summary
ConstructorsConstructorDescriptionBaseException(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:
getMessagein classThrowable
-