Package top.tangyh.basic.exception
Class BizException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
top.tangyh.basic.exception.BaseUncheckedException
top.tangyh.basic.exception.BizException
- All Implemented Interfaces:
Serializable,BaseException
业务异常
用于在处理业务逻辑时,进行抛出的异常。
- Version:
- 1.0
- Author:
- zuihou
- See Also:
-
Field Summary
Fields inherited from interface top.tangyh.basic.exception.BaseException
BASE_VALID_PARAM -
Constructor Summary
ConstructorsConstructorDescriptionBizException(int code, String message) BizException(int code, String message, Object... args) BizException(int code, String message, Throwable cause) BizException(int code, Throwable cause) BizException(String message) BizException(String message, Throwable cause) BizException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptiontoString()static BizExceptionstatic BizException实例化异常static BizExceptionstatic BizExceptionstatic BizExceptionwrap(BaseExceptionCode ex, Throwable cause) Methods inherited from class top.tangyh.basic.exception.BaseUncheckedException
getCode, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace