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