Class NotRoleException

All Implemented Interfaces:
Serializable

public class NotRoleException extends SaTokenException
一个异常:代表会话未能通过角色认证校验
Since:
1.10.0
Author:
click33
See Also:
  • Constructor Details

    • NotRoleException

      public NotRoleException(String role)
    • NotRoleException

      public NotRoleException(String role, String loginType)
  • Method Details

    • getRole

      public String getRole()
      Returns:
      获得角色标识
    • getLoginType

      public String getLoginType()
      获得账号类型
      Returns:
      账号类型