public enum ErrorCode extends Enum<ErrorCode>
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getCode() |
String |
getInfo() |
static ErrorCode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ErrorCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ErrorCode SUCCESS
public static final ErrorCode MSG_TEXT_SECURITY_STRIKE
public static final ErrorCode HTTP_PARSE_ERROR
public static final ErrorCode HTTP_JSON_PARSE_ERROR
public static final ErrorCode WRONG_ACCOUNT_OR_SIGNATURE
public static final ErrorCode WRONG_ACCOUNT_OR_SIGNATURE_2
public static final ErrorCode INVALID_SDK_APP_ID
public static final ErrorCode EXCEED_FREQUENCY_LIMIT_REST_API
public static final ErrorCode SERVICE_TIMEOUT_OR_WRONG_HTTP_REQUEST_FORMAT
public static final ErrorCode REQUEST_RESOURCE_ERROR
public static final ErrorCode NEED_ADMIN_AUTHORITY
public static final ErrorCode EXCEED_FREQUENCY_LIMIT_SDK_APP_ID
public static final ErrorCode NEED_SDK_APP_ID
public static final ErrorCode HTTP_RESPONSE_JSON_PARSE_ERROR
public static final ErrorCode DISPLACE_ACCOUNT_TIMEOUT
public static final ErrorCode WRONG_ACCOUNT_TYPE
public static final ErrorCode SDK_APP_ID_DISABLED
public static final ErrorCode REQUEST_DISABLED
public static final ErrorCode REQUEST_TOO_FREQUENT
public static final ErrorCode REQUEST_TOO_FREQUENT_2
public static final ErrorCode EXPIRED_PRO_PACKAGE
public static final ErrorCode ILLEGAL_IP_REST_API
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public Integer getCode()
public String getInfo()
Copyright © 2021 Doocs Community. All rights reserved.