public enum ErrorCode extends Enum<ErrorCode>
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode Success
public static final ErrorCode API_INVALID_ARGUMENT
public static final ErrorCode INVALID_CONFIG
public static final ErrorCode PLUGIN_ERROR
public static final ErrorCode API_TIMEOUT
public static final ErrorCode INVALID_STATE
public static final ErrorCode SERVER_USER_ERROR
public static final ErrorCode NETWORK_ERROR
public static final ErrorCode CIRCUIT_BREAK_ERROR
public static final ErrorCode INSTANCE_INFO_ERROR
public static final ErrorCode INSTANCE_NOT_FOUND
public static final ErrorCode INVALID_RULE
public static final ErrorCode ROUTE_RULE_NOT_MATCH
public static final ErrorCode INVALID_RESPONSE
public static final ErrorCode INTERNAL_ERROR
public static final ErrorCode SERVICE_NOT_FOUND
public static final ErrorCode SERVER_EXCEPTION
public static final ErrorCode LOCATION_NOT_FOUND
public static final ErrorCode LOCATION_MISMATCH
public static final ErrorCode METADATA_MISMATCH
public static final ErrorCode CLIENT_CIRCUIT_BREAKING
public static final ErrorCode CONNECT_ERROR
public static final ErrorCode SERVER_ERROR
public static final ErrorCode RPC_ERROR
public static final ErrorCode RPC_TIMEOUT
public static final ErrorCode INVALID_SERVER_RESPONSE
public static final ErrorCode INVALID_REQUEST
public static final ErrorCode UNAUTHORIZED
public static final ErrorCode REQUEST_LIMIT
public static final ErrorCode CMDB_NOT_FOUND
public static final ErrorCode UNKNOWN_SERVER_ERROR
public static final ErrorCode NOT_SUPPORT
public static final ErrorCode RSA_KEY_GENERATE_ERROR
public static final ErrorCode RSA_ENCRYPT_ERROR
public static final ErrorCode RSA_DECRYPT_ERROR
public static final ErrorCode AES_KEY_GENERATE_ERROR
public static final ErrorCode AES_ENCRYPT_ERROR
public static final ErrorCode AES_DECRYPT_ERROR
public static final ErrorCode PARAMETER_ERROR
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
Copyright © 2024. All rights reserved.