Package cn.mindit.atom.core.util
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.mindit.atom.core.util.ServiceException
- All Implemented Interfaces:
ResultProvider,Serializable
- Since:
- 2023-08-08
- Author:
- Catch
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceException(int code, String message) ServiceException(int code, String message, Throwable cause) ServiceException(ResultProvider provider) ServiceException(ResultProvider provider, Throwable cause) ServiceException(String message) ServiceException(String message, Throwable cause) ServiceException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
DEFAULT_CODE
public static final int DEFAULT_CODE- See Also:
-
DEFAULT_MESSAGE
- See Also:
-
-
Constructor Details
-
ServiceException
public ServiceException() -
ServiceException
-
ServiceException
-
ServiceException
-
ServiceException
-
ServiceException
-
ServiceException
-
ServiceException
-
-
Method Details
-
getCode
public int getCode()- Specified by:
getCodein interfaceResultProvider
-
getMessage
- Specified by:
getMessagein interfaceResultProvider- Overrides:
getMessagein classThrowable
-