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