Package cn.dev33.satoken.exception
Class NotSafeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.dev33.satoken.exception.SaTokenException
cn.dev33.satoken.exception.NotSafeException
- All Implemented Interfaces:
Serializable
一个异常:代表会话未能通过二级认证校验
- Since:
- 1.21.0
- Author:
- click33
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotSafeException(String loginType, String tokenValue, String service) 一个异常:代表会话未能通过二级认证校验 -
Method Summary
Modifier and TypeMethodDescription获取:账号类型获取: 未通过校验的服务获取: 未通过校验的 Token 值Methods inherited from class cn.dev33.satoken.exception.SaTokenException
getCode, notEmpty, notEmpty, notTrue, notTrue, setCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
BE_MESSAGE
异常提示语- See Also:
-
-
Constructor Details
-
NotSafeException
一个异常:代表会话未能通过二级认证校验- Parameters:
loginType- 账号类型tokenValue- 未通过校验的 Token 值service- 未通过校验的服务
-
-
Method Details
-
getLoginType
获取:账号类型- Returns:
- /
-
getTokenValue
获取: 未通过校验的 Token 值- Returns:
- /
-
getService
获取: 未通过校验的服务- Returns:
- /
-