public static enum DeserializationExceptionHandler.DeserializationHandlerResponse extends Enum<DeserializationExceptionHandler.DeserializationHandlerResponse>
Modifier and Type | Field and Description |
---|---|
int |
id
the permanent and immutable id of an API--this can't change ever
|
String |
name
an english description of the api--this is for debugging and can change
|
Modifier and Type | Method and Description |
---|---|
static DeserializationExceptionHandler.DeserializationHandlerResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeserializationExceptionHandler.DeserializationHandlerResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeserializationExceptionHandler.DeserializationHandlerResponse CONTINUE
public static final DeserializationExceptionHandler.DeserializationHandlerResponse FAIL
public final String name
public final int id
public static DeserializationExceptionHandler.DeserializationHandlerResponse[] values()
for (DeserializationExceptionHandler.DeserializationHandlerResponse c : DeserializationExceptionHandler.DeserializationHandlerResponse.values()) System.out.println(c);
public static DeserializationExceptionHandler.DeserializationHandlerResponse 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 null