public static enum DeserializationExceptionHandler.DeserializationHandlerResponse extends java.lang.Enum<DeserializationExceptionHandler.DeserializationHandlerResponse>
Modifier and Type | Field and Description |
---|---|
int |
id
the permanent and immutable id of an API--this can't change ever
|
java.lang.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(java.lang.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 java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null