Enum TmsErrorCode
- java.lang.Object
-
- java.lang.Enum<TmsErrorCode>
-
- com.tencentcloudapi.tms.v20201229.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 StringgetValue()static TmsErrorCodevalueOf(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
-
INTERNALERROR_ERRTEXTTIMEOUT
public static final TmsErrorCode INTERNALERROR_ERRTEXTTIMEOUT
-
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_PARAMETERERROR
public static final TmsErrorCode INVALIDPARAMETER_PARAMETERERROR
-
INVALIDPARAMETERVALUE_ERRFILECONTENT
public static final TmsErrorCode INVALIDPARAMETERVALUE_ERRFILECONTENT
-
INVALIDPARAMETERVALUE_ERRTEXTCONTENTLEN
public static final TmsErrorCode INVALIDPARAMETERVALUE_ERRTEXTCONTENTLEN
-
INVALIDPARAMETERVALUE_ERRTEXTCONTENTTYPE
public static final TmsErrorCode INVALIDPARAMETERVALUE_ERRTEXTCONTENTTYPE
-
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
-
-