public static enum ProductionExceptionHandler.ProductionExceptionHandlerResponse extends java.lang.Enum<ProductionExceptionHandler.ProductionExceptionHandlerResponse>
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 ProductionExceptionHandler.ProductionExceptionHandlerResponse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProductionExceptionHandler.ProductionExceptionHandlerResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductionExceptionHandler.ProductionExceptionHandlerResponse CONTINUE
public static final ProductionExceptionHandler.ProductionExceptionHandlerResponse FAIL
public final java.lang.String name
public final int id
public static ProductionExceptionHandler.ProductionExceptionHandlerResponse[] values()
for (ProductionExceptionHandler.ProductionExceptionHandlerResponse c : ProductionExceptionHandler.ProductionExceptionHandlerResponse.values()) System.out.println(c);
public static ProductionExceptionHandler.ProductionExceptionHandlerResponse 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