public static enum ErrorMiddleware.ExceptionMode extends Enum<ErrorMiddleware.ExceptionMode>
| Enum Constant and Description |
|---|
COMPLETION_EXCEPTION |
UNWRAP_COMPLETION_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
static Optional<ErrorMiddleware.ExceptionMode> |
get(String mode) |
String |
getMode() |
static ErrorMiddleware.ExceptionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorMiddleware.ExceptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorMiddleware.ExceptionMode COMPLETION_EXCEPTION
public static final ErrorMiddleware.ExceptionMode UNWRAP_COMPLETION_EXCEPTION
public static ErrorMiddleware.ExceptionMode[] values()
for (ErrorMiddleware.ExceptionMode c : ErrorMiddleware.ExceptionMode.values()) System.out.println(c);
public static ErrorMiddleware.ExceptionMode 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 nullpublic static Optional<ErrorMiddleware.ExceptionMode> get(String mode)