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