Package cn.mindit.atom.core.util
Class BusinessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.mindit.atom.core.util.BusinessException
- All Implemented Interfaces:
ResultProvider,Serializable
- Since:
- 2023-08-08
- Author:
- Catch
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBusinessException(int code, String message) BusinessException(int code, String message, Throwable cause) BusinessException(ResultProvider provider) BusinessException(ResultProvider provider, Throwable cause) BusinessException(String message) BusinessException(String message, Throwable cause) BusinessException(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
-
BusinessException
public BusinessException() -
BusinessException
-
BusinessException
-
BusinessException
-
BusinessException
-
BusinessException
-
BusinessException
-
BusinessException
-
-
Method Details
-
getCode
public int getCode()- Specified by:
getCodein interfaceResultProvider
-
getMessage
- Specified by:
getMessagein interfaceResultProvider- Overrides:
getMessagein classThrowable
-