Enum DayuErrorCode
- java.lang.Object
-
- java.lang.Enum<DayuErrorCode>
-
- com.tencentcloudapi.dayu.v20180709.DayuErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<DayuErrorCode>
public enum DayuErrorCode extends Enum<DayuErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DRYRUNOPERATIONFAILEDOPERATIONINTERNALERRORINVALIDPARAMETERINVALIDPARAMETERVALUELIMITEXCEEDEDMISSINGPARAMETERRESOURCEINUSERESOURCENOTFOUNDRESOURCEUNAVAILABLEUNKNOWNPARAMETERUNSUPPORTEDOPERATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static DayuErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static DayuErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRYRUNOPERATION
public static final DayuErrorCode DRYRUNOPERATION
-
FAILEDOPERATION
public static final DayuErrorCode FAILEDOPERATION
-
INTERNALERROR
public static final DayuErrorCode INTERNALERROR
-
INVALIDPARAMETER
public static final DayuErrorCode INVALIDPARAMETER
-
INVALIDPARAMETERVALUE
public static final DayuErrorCode INVALIDPARAMETERVALUE
-
LIMITEXCEEDED
public static final DayuErrorCode LIMITEXCEEDED
-
MISSINGPARAMETER
public static final DayuErrorCode MISSINGPARAMETER
-
RESOURCEINUSE
public static final DayuErrorCode RESOURCEINUSE
-
RESOURCENOTFOUND
public static final DayuErrorCode RESOURCENOTFOUND
-
RESOURCEUNAVAILABLE
public static final DayuErrorCode RESOURCEUNAVAILABLE
-
UNKNOWNPARAMETER
public static final DayuErrorCode UNKNOWNPARAMETER
-
UNSUPPORTEDOPERATION
public static final DayuErrorCode UNSUPPORTEDOPERATION
-
-
Method Detail
-
values
public static DayuErrorCode[] 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 (DayuErrorCode c : DayuErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DayuErrorCode 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
-
-