Package top.tangyh.basic.exception
Class UnauthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
top.tangyh.basic.exception.BaseUncheckedException
top.tangyh.basic.exception.UnauthorizedException
- All Implemented Interfaces:
Serializable,BaseException
401 未认证 未登录
- Version:
- 1.0
- Author:
- zuihou
- See Also:
-
Field Summary
Fields inherited from interface top.tangyh.basic.exception.BaseException
BASE_VALID_PARAM -
Constructor Summary
ConstructorsConstructorDescriptionUnauthorizedException(int code, String message) UnauthorizedException(int code, String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptiontoString()static UnauthorizedExceptionstatic UnauthorizedExceptionwrap(ExceptionCode ec) 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