Enum ApeErrorCode
- java.lang.Object
-
- java.lang.Enum<ApeErrorCode>
-
- com.tencentcloudapi.ape.v20200513.ApeErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<ApeErrorCode>
public enum ApeErrorCode extends Enum<ApeErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static ApeErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ApeErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHFAILURE
public static final ApeErrorCode AUTHFAILURE
-
FAILEDOPERATION
public static final ApeErrorCode FAILEDOPERATION
-
INTERNALERROR
public static final ApeErrorCode INTERNALERROR
-
INVALIDPARAMETER
public static final ApeErrorCode INVALIDPARAMETER
-
INVALIDPARAMETERVALUE
public static final ApeErrorCode INVALIDPARAMETERVALUE
-
LIMITEXCEEDED
public static final ApeErrorCode LIMITEXCEEDED
-
LIMITEXCEEDED_ORDEREXPIREDERROR
public static final ApeErrorCode LIMITEXCEEDED_ORDEREXPIREDERROR
-
LIMITEXCEEDED_ORDERLIMITERROR
public static final ApeErrorCode LIMITEXCEEDED_ORDERLIMITERROR
-
RESOURCEINUSE
public static final ApeErrorCode RESOURCEINUSE
-
RESOURCENOTFOUND
public static final ApeErrorCode RESOURCENOTFOUND
-
RESOURCENOTFOUND_SENSITIVEIMAGE
public static final ApeErrorCode RESOURCENOTFOUND_SENSITIVEIMAGE
-
RESOURCENOTFOUND_SENSITIVESEARCH
public static final ApeErrorCode RESOURCENOTFOUND_SENSITIVESEARCH
-
RESOURCEUNAVAILABLE
public static final ApeErrorCode RESOURCEUNAVAILABLE
-
-
Method Detail
-
values
public static ApeErrorCode[] 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 (ApeErrorCode c : ApeErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApeErrorCode 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
-
-