public static enum GraphQLClient.ErrorClass extends Enum<GraphQLClient.ErrorClass>
Enum Constant and Description |
---|
AUTHENTICATION |
AUTHORIZATION |
INTERNAL |
NOT_FOUND |
RESOURCE_LIMIT |
SERVICE_AVAILABILITY |
UNKNOWN |
UNSUPPORTED_CLIENT |
VALIDATION |
Modifier and Type | Method and Description |
---|---|
static GraphQLClient.ErrorClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphQLClient.ErrorClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphQLClient.ErrorClass AUTHENTICATION
public static final GraphQLClient.ErrorClass AUTHORIZATION
public static final GraphQLClient.ErrorClass INTERNAL
public static final GraphQLClient.ErrorClass UNSUPPORTED_CLIENT
public static final GraphQLClient.ErrorClass NOT_FOUND
public static final GraphQLClient.ErrorClass RESOURCE_LIMIT
public static final GraphQLClient.ErrorClass SERVICE_AVAILABILITY
public static final GraphQLClient.ErrorClass UNKNOWN
public static final GraphQLClient.ErrorClass VALIDATION
public static GraphQLClient.ErrorClass[] values()
for (GraphQLClient.ErrorClass c : GraphQLClient.ErrorClass.values()) System.out.println(c);
public static GraphQLClient.ErrorClass 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 © 2013-2018. All Rights Reserved.