Enum MemcachedErrorCode
- java.lang.Object
-
- java.lang.Enum<MemcachedErrorCode>
-
- com.tencentcloudapi.memcached.v20190318.MemcachedErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<MemcachedErrorCode>
public enum MemcachedErrorCode extends Enum<MemcachedErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static MemcachedErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static MemcachedErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILEDOPERATION_DBOPERATIONFAILED
public static final MemcachedErrorCode FAILEDOPERATION_DBOPERATIONFAILED
-
FAILEDOPERATION_SYSTEMERROR
public static final MemcachedErrorCode FAILEDOPERATION_SYSTEMERROR
-
INTERNALERROR_INTERNALERROR
public static final MemcachedErrorCode INTERNALERROR_INTERNALERROR
-
INVALIDPARAMETER_INVALIDPARAMETER
public static final MemcachedErrorCode INVALIDPARAMETER_INVALIDPARAMETER
-
MISSINGPARAMETER_EMPTYPARAM
public static final MemcachedErrorCode MISSINGPARAMETER_EMPTYPARAM
-
RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS
public static final MemcachedErrorCode RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS
-
RESOURCENOTFOUND_INSTANCENOTEXISTS
public static final MemcachedErrorCode RESOURCENOTFOUND_INSTANCENOTEXISTS
-
UNAUTHORIZEDOPERATION_NOCAMAUTHED
public static final MemcachedErrorCode UNAUTHORIZEDOPERATION_NOCAMAUTHED
-
-
Method Detail
-
values
public static MemcachedErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MemcachedErrorCode c : MemcachedErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MemcachedErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
- Returns:
- errorcode value
-
-