public enum ObaErrorCode extends Enum<ObaErrorCode>
| Enum Constant and Description |
|---|
AIS_BAD_REQUEST |
AUTH_EXPIRED |
CONNECTION_ERROR |
CONVERSION_EXCEPTION |
NOT_FOUND |
| Modifier and Type | Method and Description |
|---|---|
static ObaErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObaErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObaErrorCode CONNECTION_ERROR
public static final ObaErrorCode AIS_BAD_REQUEST
public static final ObaErrorCode NOT_FOUND
public static final ObaErrorCode CONVERSION_EXCEPTION
public static final ObaErrorCode AUTH_EXPIRED
public static ObaErrorCode[] values()
for (ObaErrorCode c : ObaErrorCode.values()) System.out.println(c);
public static ObaErrorCode 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 nullCopyright © 2020. All rights reserved.