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