@Description(value="\u57fa\u7840\u516c\u5171\u8fd4\u56de\u7801(0-99)") public static enum ResponseCode.Common extends Enum<ResponseCode.Common> implements ResponseCode
ResponseCode.Common| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
String |
getMsg() |
static ResponseCode.Common |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ResponseCode.Common[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ResponseCode.Common SUCCESS
public static final ResponseCode.Common ERROR
public static final ResponseCode.Common TIMEOUT
public static final ResponseCode.Common NULL_POINTER
public static final ResponseCode.Common NULL
public static final ResponseCode.Common CANNOT_PARSE
public static final ResponseCode.Common REQUEST_FORMAT_ERROR
public static final ResponseCode.Common FORMAT_ERROR
public static final ResponseCode.Common LACK
public static final ResponseCode.Common METHOD_ERROR
public static final ResponseCode.Common DATA_DUPLICATE
public static final ResponseCode.Common DATA_INVALID
public static final ResponseCode.Common NO_LOGIN
public static final ResponseCode.Common OTHER_LOGIN
public static final ResponseCode.Common NO_AUTH
public static final ResponseCode.Common REQUEST_FAST
public static final ResponseCode.Common ILLEGAL
public static final ResponseCode.Common SYSTEM_ERROR
public static ResponseCode.Common[] values()
for (ResponseCode.Common c : ResponseCode.Common.values()) System.out.println(c);
public static ResponseCode.Common valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getCode()
getCode 在接口中 ResponseCodepublic String getMsg()
getMsg 在接口中 ResponseCodeCopyright © 2021. All rights reserved.