Package com.tencentcloudapi.gs.v20191118
Enum GsErrorCode
- java.lang.Object
-
- java.lang.Enum<GsErrorCode>
-
- com.tencentcloudapi.gs.v20191118.GsErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<GsErrorCode>
public enum GsErrorCode extends Enum<GsErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static GsErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static GsErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILEDOPERATION
public static final GsErrorCode FAILEDOPERATION
-
FAILEDOPERATION_LOCKTIMEOUT
public static final GsErrorCode FAILEDOPERATION_LOCKTIMEOUT
-
FAILEDOPERATION_PROCESSTIMEOUT
public static final GsErrorCode FAILEDOPERATION_PROCESSTIMEOUT
-
FAILEDOPERATION_SLOWDOWN
public static final GsErrorCode FAILEDOPERATION_SLOWDOWN
-
FAILEDOPERATION_TIMEOUT
public static final GsErrorCode FAILEDOPERATION_TIMEOUT
-
FAILEDOPERATION_TOOFREQUENTLY
public static final GsErrorCode FAILEDOPERATION_TOOFREQUENTLY
-
INTERNALERROR
public static final GsErrorCode INTERNALERROR
-
INVALIDPARAMETER_JSONPARSEERROR
public static final GsErrorCode INVALIDPARAMETER_JSONPARSEERROR
-
INVALIDPARAMETERVALUE
public static final GsErrorCode INVALIDPARAMETERVALUE
-
LIMITEXCEEDED_ROLE
public static final GsErrorCode LIMITEXCEEDED_ROLE
-
OPERATIONDENIED
public static final GsErrorCode OPERATIONDENIED
-
RESOURCENOTFOUND_NOIDLE
public static final GsErrorCode RESOURCENOTFOUND_NOIDLE
-
RESOURCENOTFOUND_SESSIONNOTFOUND
public static final GsErrorCode RESOURCENOTFOUND_SESSIONNOTFOUND
-
RESOURCEUNAVAILABLE_ACCESSFAILED
public static final GsErrorCode RESOURCEUNAVAILABLE_ACCESSFAILED
-
RESOURCEUNAVAILABLE_INITIALIZATION
public static final GsErrorCode RESOURCEUNAVAILABLE_INITIALIZATION
-
UNSUPPORTEDOPERATION_NOTRUNNING
public static final GsErrorCode UNSUPPORTEDOPERATION_NOTRUNNING
-
UNSUPPORTEDOPERATION_STOPPING
public static final GsErrorCode UNSUPPORTEDOPERATION_STOPPING
-
-
Method Detail
-
values
public static GsErrorCode[] 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 (GsErrorCode c : GsErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GsErrorCode 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
-
-