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 Details

    • UnauthorizedException

      public UnauthorizedException()