Enum MongodbErrorCode
- java.lang.Object
-
- java.lang.Enum<MongodbErrorCode>
-
- com.tencentcloudapi.mongodb.v20180408.MongodbErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<MongodbErrorCode>
public enum MongodbErrorCode extends Enum<MongodbErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static MongodbErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static MongodbErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNALERROR
public static final MongodbErrorCode INTERNALERROR
-
INTERNALERROR_ASYNCREQUESTERROR
public static final MongodbErrorCode INTERNALERROR_ASYNCREQUESTERROR
-
INVALIDPARAMETER
public static final MongodbErrorCode INVALIDPARAMETER
-
INVALIDPARAMETER_PERMISSIONDENIED
public static final MongodbErrorCode INVALIDPARAMETER_PERMISSIONDENIED
-
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME
public static final MongodbErrorCode INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME
-
INVALIDPARAMETERVALUE_ILLEGALINSTANCESTATUS
public static final MongodbErrorCode INVALIDPARAMETERVALUE_ILLEGALINSTANCESTATUS
-
INVALIDPARAMETERVALUE_INSTANCEHASBEENDELETED
public static final MongodbErrorCode INVALIDPARAMETERVALUE_INSTANCEHASBEENDELETED
-
INVALIDPARAMETERVALUE_INSTANCEHASBEENISOLATED
public static final MongodbErrorCode INVALIDPARAMETERVALUE_INSTANCEHASBEENISOLATED
-
INVALIDPARAMETERVALUE_LIMITPARAOUTOFRANGE
public static final MongodbErrorCode INVALIDPARAMETERVALUE_LIMITPARAOUTOFRANGE
-
INVALIDPARAMETERVALUE_LOCKFAILED
public static final MongodbErrorCode INVALIDPARAMETERVALUE_LOCKFAILED
-
INVALIDPARAMETERVALUE_MONGOVERSIONNOTSUPPORTQUERYCLIENT
public static final MongodbErrorCode INVALIDPARAMETERVALUE_MONGOVERSIONNOTSUPPORTQUERYCLIENT
-
INVALIDPARAMETERVALUE_NOTFOUNDINSTANCE
public static final MongodbErrorCode INVALIDPARAMETERVALUE_NOTFOUNDINSTANCE
-
INVALIDPARAMETERVALUE_OFFSETPARAOUTOFRANGE
public static final MongodbErrorCode INVALIDPARAMETERVALUE_OFFSETPARAOUTOFRANGE
-
INVALIDPARAMETERVALUE_PASSWORDRULEFAILED
public static final MongodbErrorCode INVALIDPARAMETERVALUE_PASSWORDRULEFAILED
-
INVALIDPARAMETERVALUE_POSTPAYRENEWERROR
public static final MongodbErrorCode INVALIDPARAMETERVALUE_POSTPAYRENEWERROR
-
INVALIDPARAMETERVALUE_PROJECTNOTFOUND
public static final MongodbErrorCode INVALIDPARAMETERVALUE_PROJECTNOTFOUND
-
INVALIDPARAMETERVALUE_PROXYNOTSUPPORTQUERYCLIENT
public static final MongodbErrorCode INVALIDPARAMETERVALUE_PROXYNOTSUPPORTQUERYCLIENT
-
INVALIDPARAMETERVALUE_QUERYTIMEOUTOFRANGE
public static final MongodbErrorCode INVALIDPARAMETERVALUE_QUERYTIMEOUTOFRANGE
-
INVALIDPARAMETERVALUE_QUERYTIMERANGEBEYONDLIMIT
public static final MongodbErrorCode INVALIDPARAMETERVALUE_QUERYTIMERANGEBEYONDLIMIT
-
INVALIDPARAMETERVALUE_REGIONERROR
public static final MongodbErrorCode INVALIDPARAMETERVALUE_REGIONERROR
-
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTQUERYCLIENT
public static final MongodbErrorCode INVALIDPARAMETERVALUE_REGIONNOTSUPPORTQUERYCLIENT
-
INVALIDPARAMETERVALUE_SLOWMSBELOWLIMIT
public static final MongodbErrorCode INVALIDPARAMETERVALUE_SLOWMSBELOWLIMIT
-
INVALIDPARAMETERVALUE_STARTTIMENOTBEFORETHANENDTIME
public static final MongodbErrorCode INVALIDPARAMETERVALUE_STARTTIMENOTBEFORETHANENDTIME
-
INVALIDPARAMETERVALUE_STATUSABNORMAL
public static final MongodbErrorCode INVALIDPARAMETERVALUE_STATUSABNORMAL
-
INVALIDPARAMETERVALUE_TIMEFORMATERR
public static final MongodbErrorCode INVALIDPARAMETERVALUE_TIMEFORMATERR
-
INVALIDPARAMETERVALUE_USERNOTFOUND
public static final MongodbErrorCode INVALIDPARAMETERVALUE_USERNOTFOUND
-
INVALIDPARAMETERVALUE_VPCIDORSUBNETIDNOTFOUND
public static final MongodbErrorCode INVALIDPARAMETERVALUE_VPCIDORSUBNETIDNOTFOUND
-
INVALIDPARAMETERVALUE_ZONEERROR
public static final MongodbErrorCode INVALIDPARAMETERVALUE_ZONEERROR
-
-
Method Detail
-
values
public static MongodbErrorCode[] 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 (MongodbErrorCode c : MongodbErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MongodbErrorCode 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
-
-