public enum YunsouErrorCode extends Enum<YunsouErrorCode>
Enum Constant and Description |
---|
FAILEDOPERATION_ACCOUNTINFO |
FAILEDOPERATION_APPINFO |
FAILEDOPERATION_SEARCH |
FAILEDOPERATION_UPLOADDATAAPIFAIL |
INVALIDPARAMETER |
INVALIDPARAMETER_DATACONTENT |
LIMITEXCEEDED_SEARCH |
UNAUTHORIZEDOPERATION |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static YunsouErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YunsouErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YunsouErrorCode FAILEDOPERATION_ACCOUNTINFO
public static final YunsouErrorCode FAILEDOPERATION_APPINFO
public static final YunsouErrorCode FAILEDOPERATION_SEARCH
public static final YunsouErrorCode FAILEDOPERATION_UPLOADDATAAPIFAIL
public static final YunsouErrorCode INVALIDPARAMETER
public static final YunsouErrorCode INVALIDPARAMETER_DATACONTENT
public static final YunsouErrorCode LIMITEXCEEDED_SEARCH
public static final YunsouErrorCode UNAUTHORIZEDOPERATION
public static YunsouErrorCode[] values()
for (YunsouErrorCode c : YunsouErrorCode.values()) System.out.println(c);
public static YunsouErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
Copyright © 2021. All rights reserved.