public static enum ProductionExceptionHandler.ProductionExceptionHandlerResponse extends Enum<ProductionExceptionHandler.ProductionExceptionHandlerResponse>
| 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 ProductionExceptionHandler.ProductionExceptionHandlerResponse |
valueOf(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 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(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