Enum TbmErrorCode
- java.lang.Object
-
- java.lang.Enum<TbmErrorCode>
-
- com.tencentcloudapi.tbm.v20180129.TbmErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<TbmErrorCode>
public enum TbmErrorCode extends Enum<TbmErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERNALERROR_DATAINPROCESSINGINTERNALERROR_INNERSERVERFAILEDINTERNALERROR_METADATAOPFAILEDINVALIDPARAMETERINVALIDPARAMETERVALUEMISSINGPARAMETERRESOURCENOTFOUNDUNAUTHORIZEDOPERATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static TbmErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static TbmErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNALERROR_DATAINPROCESSING
public static final TbmErrorCode INTERNALERROR_DATAINPROCESSING
-
INTERNALERROR_INNERSERVERFAILED
public static final TbmErrorCode INTERNALERROR_INNERSERVERFAILED
-
INTERNALERROR_METADATAOPFAILED
public static final TbmErrorCode INTERNALERROR_METADATAOPFAILED
-
INVALIDPARAMETER
public static final TbmErrorCode INVALIDPARAMETER
-
INVALIDPARAMETERVALUE
public static final TbmErrorCode INVALIDPARAMETERVALUE
-
MISSINGPARAMETER
public static final TbmErrorCode MISSINGPARAMETER
-
RESOURCENOTFOUND
public static final TbmErrorCode RESOURCENOTFOUND
-
UNAUTHORIZEDOPERATION
public static final TbmErrorCode UNAUTHORIZEDOPERATION
-
-
Method Detail
-
values
public static TbmErrorCode[] 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 (TbmErrorCode c : TbmErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TbmErrorCode 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
-
-