public enum EsErrorCode extends Enum<EsErrorCode>
Enum Constant and Description |
---|
INTERNALERROR |
INVALIDPARAMETER |
INVALIDPARAMETERVALUE |
LIMITEXCEEDED |
MISSINGPARAMETER |
REQUESTLIMITEXCEEDED |
RESOURCENOTFOUND |
UNAUTHORIZEDOPERATION |
UNKNOWNPARAMETER |
UNSUPPORTEDOPERATION |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static EsErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EsErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EsErrorCode INTERNALERROR
public static final EsErrorCode INVALIDPARAMETER
public static final EsErrorCode INVALIDPARAMETERVALUE
public static final EsErrorCode LIMITEXCEEDED
public static final EsErrorCode MISSINGPARAMETER
public static final EsErrorCode REQUESTLIMITEXCEEDED
public static final EsErrorCode RESOURCENOTFOUND
public static final EsErrorCode UNAUTHORIZEDOPERATION
public static final EsErrorCode UNKNOWNPARAMETER
public static final EsErrorCode UNSUPPORTEDOPERATION
public static EsErrorCode[] values()
for (EsErrorCode c : EsErrorCode.values()) System.out.println(c);
public static EsErrorCode 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 © 2025. All rights reserved.