public enum ResponseCode extends java.lang.Enum<ResponseCode>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
java.lang.String |
getMsg() |
void |
setCode(int code) |
void |
setMsg(java.lang.String msg) |
static ResponseCode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ResponseCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ResponseCode SUCCESS
public static final ResponseCode TOKEN_EXPIRED_INFO
public static final ResponseCode TOKEN_INVALID_INFO
public static final ResponseCode AUTH_INFO
public static final ResponseCode LOGIN_INFO
public static final ResponseCode MYSQL_PK_ERROR
public static final ResponseCode FILE_MAX_INFO
public static final ResponseCode REFRESH_INFO
public static final ResponseCode REQUEST_ERROR
public static final ResponseCode DATA_NULL_ERROR
public static final ResponseCode REQUEST_TYPE_ERROR
public static final ResponseCode NULL_POINT_ERROR
public static final ResponseCode ARGUMENTS_ERROR
public static final ResponseCode UNKNOWN_ERROR
public static final ResponseCode RESTRIC_ERROR
public static final ResponseCode COLUMN_LONG_ERROR
public static ResponseCode[] values()
for (ResponseCode c : ResponseCode.values()) System.out.println(c);
public static ResponseCode valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public int getCode()
public void setCode(int code)
public java.lang.String getMsg()
public void setMsg(java.lang.String msg)
Copyright © 2018. All Rights Reserved.