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