public class SafeKeeperLoginException extends SafeKeeperException
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SafeKeeperLoginException.Builder
静态构造类
|
| 限定符和类型 | 字段和说明 |
|---|---|
static List<String> |
ABNORMAL_LIST
代表异常token的标志集合
|
static String |
BE_REPLACED
表示token已被顶下线
|
static String |
BE_REPLACED_MESSAGE |
static String |
DEFAULT_MESSAGE
默认的提示语
|
static String |
INVALID_TOKEN
表示token无效
|
static String |
INVALID_TOKEN_MESSAGE |
static String |
KICK_OUT
表示token已被踢下线
|
static String |
KICK_OUT_MESSAGE |
static String |
NOT_TOKEN
表示未提供token
|
static String |
NOT_TOKEN_MESSAGE |
static String |
TOKEN_TIMEOUT
表示token已过期
|
static String |
TOKEN_TIMEOUT_MESSAGE |
| 构造器和说明 |
|---|
SafeKeeperLoginException(int code,
String message,
String loginType) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode()
响应状态码
|
String |
getLoginType()
获取登录维度
|
String |
getMessage()
获取角色
|
public String getMessage()
getMessage 在类中 Throwablepublic int getCode()
public String getLoginType()
Copyright © 2021. All rights reserved.