Enum HasimErrorCode
- java.lang.Object
-
- java.lang.Enum<HasimErrorCode>
-
- com.tencentcloudapi.hasim.v20210716.HasimErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<HasimErrorCode>
public enum HasimErrorCode extends Enum<HasimErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHFAILURE
FAILEDOPERATION
INTERNALERROR
INVALIDPARAMETER
INVALIDPARAMETERVALUE
MISSINGPARAMETER
OPERATIONDENIED
RESOURCENOTFOUND
RESOURCEUNAVAILABLE
UNAUTHORIZEDOPERATION
UNKNOWNPARAMETER
UNSUPPORTEDOPERATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static HasimErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static HasimErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHFAILURE
public static final HasimErrorCode AUTHFAILURE
-
FAILEDOPERATION
public static final HasimErrorCode FAILEDOPERATION
-
INTERNALERROR
public static final HasimErrorCode INTERNALERROR
-
INVALIDPARAMETER
public static final HasimErrorCode INVALIDPARAMETER
-
INVALIDPARAMETERVALUE
public static final HasimErrorCode INVALIDPARAMETERVALUE
-
MISSINGPARAMETER
public static final HasimErrorCode MISSINGPARAMETER
-
OPERATIONDENIED
public static final HasimErrorCode OPERATIONDENIED
-
RESOURCENOTFOUND
public static final HasimErrorCode RESOURCENOTFOUND
-
RESOURCEUNAVAILABLE
public static final HasimErrorCode RESOURCEUNAVAILABLE
-
UNAUTHORIZEDOPERATION
public static final HasimErrorCode UNAUTHORIZEDOPERATION
-
UNKNOWNPARAMETER
public static final HasimErrorCode UNKNOWNPARAMETER
-
UNSUPPORTEDOPERATION
public static final HasimErrorCode UNSUPPORTEDOPERATION
-
-
Method Detail
-
values
public static HasimErrorCode[] 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 (HasimErrorCode c : HasimErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HasimErrorCode 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
-
-