Enum TicErrorCode
- java.lang.Object
-
- java.lang.Enum<TicErrorCode>
-
- com.tencentcloudapi.tic.v20201117.TicErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<TicErrorCode>
public enum TicErrorCode extends Enum<TicErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static TicErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TicErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILEDOPERATION
public static final TicErrorCode FAILEDOPERATION
-
FAILEDOPERATION_HTTPREQUESTERROR
public static final TicErrorCode FAILEDOPERATION_HTTPREQUESTERROR
-
FAILEDOPERATION_NOTEXIST
public static final TicErrorCode FAILEDOPERATION_NOTEXIST
-
INTERNALERROR
public static final TicErrorCode INTERNALERROR
-
INTERNALERROR_COSERROR
public static final TicErrorCode INTERNALERROR_COSERROR
-
INTERNALERROR_DBERROR
public static final TicErrorCode INTERNALERROR_DBERROR
-
INTERNALERROR_MQERROR
public static final TicErrorCode INTERNALERROR_MQERROR
-
INTERNALERROR_SYSTEM
public static final TicErrorCode INTERNALERROR_SYSTEM
-
INVALIDPARAMETER
public static final TicErrorCode INVALIDPARAMETER
-
INVALIDPARAMETER_PARAMERROR
public static final TicErrorCode INVALIDPARAMETER_PARAMERROR
-
UNSUPPORTEDOPERATION_FORBIDOP
public static final TicErrorCode UNSUPPORTEDOPERATION_FORBIDOP
-
-
Method Detail
-
values
public static TicErrorCode[] 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 (TicErrorCode c : TicErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TicErrorCode 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
-
-