Package | Description |
---|---|
ratpack.exec |
The execution management.
|
ratpack.func |
General functional (i.e. Single Abstract Method) types.
|
ratpack.util |
General purpose types and utilities.
|
Modifier and Type | Method and Description |
---|---|
ExecBuilder |
ExecBuilder.onError(BiAction<? super Execution,? super Throwable> onError)
Specify the top level error handler for the execution.
|
Modifier and Type | Method and Description |
---|---|
static <T,U> BiAction<T,U> |
BiAction.from(BiConsumer<T,U> consumer)
Creates an bi-action from a JDK bi-consumer.
|
Modifier and Type | Method and Description |
---|---|
static <T,U> void |
Exceptions.uncheck(T input1,
U input2,
BiAction<T,U> action)
Executes the given action with the provided input arguments, unchecking any exceptions it throws.
|