@LocalizedMessageBundle(value=DEFAULT) public enum BuildInErrorMessages extends Enum<BuildInErrorMessages> implements ErrorMessage
| Enum Constant and Description |
|---|
AUTHENTICATION_FAILED |
AUTHORIZATION_FAILED |
ILLEGAL_REQUEST |
INVALID_TOKEN |
OK |
RATE_LIMITATION_REACHED |
SERVER_ERROR |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getText() |
static BuildInErrorMessages |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildInErrorMessages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildInErrorMessages AUTHENTICATION_FAILED
public static final BuildInErrorMessages AUTHORIZATION_FAILED
public static final BuildInErrorMessages ILLEGAL_REQUEST
public static final BuildInErrorMessages INVALID_TOKEN
public static final BuildInErrorMessages OK
public static final BuildInErrorMessages RATE_LIMITATION_REACHED
public static final BuildInErrorMessages SERVER_ERROR
public static BuildInErrorMessages[] values()
for (BuildInErrorMessages c : BuildInErrorMessages.values()) System.out.println(c);
public static BuildInErrorMessages 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 getText()
getText in interface ErrorMessagepublic String getName()
getName in interface ErrorMessageCopyright © 2018. All rights reserved.