Class BusinessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.elitesland.ystdms.sys.exception.BusinessException
- All Implemented Interfaces:
Serializable,Supplier<BusinessException>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBusinessException(ApiCode apiCode, String message) BusinessException(ApiCode apiCode, String message, Throwable throwable) BusinessException(Integer code, String message) BusinessException(Integer code, String message, Throwable throwable) BusinessException(String message) BusinessException(String message, Throwable cause) BusinessException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) BusinessException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionget()getCode()static BusinessExceptioninstance()setApiCode(ApiCode apiCode) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BusinessException
public BusinessException() -
BusinessException
-
BusinessException
-
BusinessException
-
BusinessException
-
BusinessException
-
BusinessException
-
BusinessException
-
BusinessException
-
-
Method Details
-
instance
-
get
- Specified by:
getin interfaceSupplier<BusinessException>
-
getApiCode
-
getCode
-
setApiCode
-
setCode
-