Enum TicsErrorCode
- java.lang.Object
-
- java.lang.Enum<TicsErrorCode>
-
- com.tencentcloudapi.tics.v20181115.TicsErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<TicsErrorCode>
public enum TicsErrorCode extends Enum<TicsErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERNALERROR_CACHEERR
INTERNALERROR_LOCALERR
INTERNALERROR_TIMEOUT
INVALIDPARAMETER
LIMITEXCEEDED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static TicsErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TicsErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNALERROR_CACHEERR
public static final TicsErrorCode INTERNALERROR_CACHEERR
-
INTERNALERROR_LOCALERR
public static final TicsErrorCode INTERNALERROR_LOCALERR
-
INTERNALERROR_TIMEOUT
public static final TicsErrorCode INTERNALERROR_TIMEOUT
-
INVALIDPARAMETER
public static final TicsErrorCode INVALIDPARAMETER
-
LIMITEXCEEDED
public static final TicsErrorCode LIMITEXCEEDED
-
-
Method Detail
-
values
public static TicsErrorCode[] 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 (TicsErrorCode c : TicsErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TicsErrorCode 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
-
-