Package com.braintreegateway.util
Enum GraphQLClient.ErrorClass
- java.lang.Object
-
- java.lang.Enum<GraphQLClient.ErrorClass>
-
- com.braintreegateway.util.GraphQLClient.ErrorClass
-
- All Implemented Interfaces:
Serializable,Comparable<GraphQLClient.ErrorClass>
- Enclosing class:
- GraphQLClient
public static enum GraphQLClient.ErrorClass extends Enum<GraphQLClient.ErrorClass>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATIONAUTHORIZATIONINTERNALNOT_FOUNDRESOURCE_LIMITSERVICE_AVAILABILITYUNKNOWNUNSUPPORTED_CLIENTVALIDATION
-
Constructor Summary
Constructors Modifier Constructor Description privateErrorClass()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GraphQLClient.ErrorClassvalueOf(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.
-
-
-
Enum Constant Detail
-
AUTHENTICATION
public static final GraphQLClient.ErrorClass AUTHENTICATION
-
AUTHORIZATION
public static final GraphQLClient.ErrorClass AUTHORIZATION
-
INTERNAL
public static final GraphQLClient.ErrorClass INTERNAL
-
UNSUPPORTED_CLIENT
public static final GraphQLClient.ErrorClass UNSUPPORTED_CLIENT
-
NOT_FOUND
public static final GraphQLClient.ErrorClass NOT_FOUND
-
RESOURCE_LIMIT
public static final GraphQLClient.ErrorClass RESOURCE_LIMIT
-
SERVICE_AVAILABILITY
public static final GraphQLClient.ErrorClass SERVICE_AVAILABILITY
-
UNKNOWN
public static final GraphQLClient.ErrorClass UNKNOWN
-
VALIDATION
public static final GraphQLClient.ErrorClass VALIDATION
-
-
Method Detail
-
values
public static GraphQLClient.ErrorClass[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GraphQLClient.ErrorClass c : GraphQLClient.ErrorClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphQLClient.ErrorClass valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-