Enum TmsErrorCode
- java.lang.Object
-
- java.lang.Enum<TmsErrorCode>
-
- com.tencentcloudapi.tms.v20200713.TmsErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<TmsErrorCode>
public enum TmsErrorCode extends Enum<TmsErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static TmsErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TmsErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHFAILURE
public static final TmsErrorCode AUTHFAILURE
-
INTERNALERROR
public static final TmsErrorCode INTERNALERROR
-
INTERNALERROR_ERRTEXTTIMEOUT
public static final TmsErrorCode INTERNALERROR_ERRTEXTTIMEOUT
-
INVALIDPARAMETER
public static final TmsErrorCode INVALIDPARAMETER
-
INVALIDPARAMETER_ERRACTION
public static final TmsErrorCode INVALIDPARAMETER_ERRACTION
-
INVALIDPARAMETER_ERRTEXTCONTENTLEN
public static final TmsErrorCode INVALIDPARAMETER_ERRTEXTCONTENTLEN
-
INVALIDPARAMETER_ERRTEXTCONTENTTYPE
public static final TmsErrorCode INVALIDPARAMETER_ERRTEXTCONTENTTYPE
-
INVALIDPARAMETER_INVALIDPARAMETERCONTENT
public static final TmsErrorCode INVALIDPARAMETER_INVALIDPARAMETERCONTENT
-
INVALIDPARAMETERVALUE
public static final TmsErrorCode INVALIDPARAMETERVALUE
-
INVALIDPARAMETERVALUE_ERRTEXTCONTENTTYPE
public static final TmsErrorCode INVALIDPARAMETERVALUE_ERRTEXTCONTENTTYPE
-
INVALIDPARAMETERVALUE_INVALIDEVILCONTENT
public static final TmsErrorCode INVALIDPARAMETERVALUE_INVALIDEVILCONTENT
-
INVALIDPARAMETERVALUE_INVALIDEVILTYPE
public static final TmsErrorCode INVALIDPARAMETERVALUE_INVALIDEVILTYPE
-
INVALIDPARAMETERVALUE_INVALIDREPORTEDACCOUNT
public static final TmsErrorCode INVALIDPARAMETERVALUE_INVALIDREPORTEDACCOUNT
-
INVALIDPARAMETERVALUE_INVALIDREPORTEDACCOUNTLENGTH
public static final TmsErrorCode INVALIDPARAMETERVALUE_INVALIDREPORTEDACCOUNTLENGTH
-
INVALIDPARAMETERVALUE_INVALIDREPORTEDACCOUNTTYPE
public static final TmsErrorCode INVALIDPARAMETERVALUE_INVALIDREPORTEDACCOUNTTYPE
-
INVALIDPARAMETERVALUE_INVALIDSENDERACCOUNT
public static final TmsErrorCode INVALIDPARAMETERVALUE_INVALIDSENDERACCOUNT
-
INVALIDPARAMETERVALUE_INVALIDSENDERACCOUNTLENGTH
public static final TmsErrorCode INVALIDPARAMETERVALUE_INVALIDSENDERACCOUNTLENGTH
-
INVALIDPARAMETERVALUE_INVALIDSENDERACCOUNTTYPE
public static final TmsErrorCode INVALIDPARAMETERVALUE_INVALIDSENDERACCOUNTTYPE
-
INVALIDPARAMETERVALUE_INVALIDSENDERIP
public static final TmsErrorCode INVALIDPARAMETERVALUE_INVALIDSENDERIP
-
LIMITEXCEEDED
public static final TmsErrorCode LIMITEXCEEDED
-
MISSINGPARAMETER
public static final TmsErrorCode MISSINGPARAMETER
-
RESOURCEINUSE
public static final TmsErrorCode RESOURCEINUSE
-
RESOURCENOTFOUND
public static final TmsErrorCode RESOURCENOTFOUND
-
UNAUTHORIZEDOPERATION_UNAUTHORIZED
public static final TmsErrorCode UNAUTHORIZEDOPERATION_UNAUTHORIZED
-
-
Method Detail
-
values
public static TmsErrorCode[] 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 (TmsErrorCode c : TmsErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TmsErrorCode 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
-
-