Class UnauthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codeupsoft.base.common.exception.CodeupSoftBaseException
com.codeupsoft.component.security.exception.UnauthorizedException
- All Implemented Interfaces:
Serializable
public class UnauthorizedException
extends com.codeupsoft.base.common.exception.CodeupSoftBaseException
未授权异常.
当用户未认证或认证失败时抛出此异常. 通常在需要验证用户身份但用户未登录或令牌无效时触发.
- Author:
- Liu,Dongdong
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.codeupsoft.base.common.exception.CodeupSoftBaseException
getResponseMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedException
public UnauthorizedException()
-