@FunctionalInterface public interface FailureHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
FailureHandler.Outcome
Various outcomes for the handler.
|
| Modifier and Type | Field and Description |
|---|---|
static FailureHandler |
NONE
FailureHandler that always aborts. |
| Modifier and Type | Method and Description |
|---|---|
FailureHandler.Outcome |
handle(Throwable failure)
Handle a run failure.
|
static final FailureHandler NONE
FailureHandler that always aborts.FailureHandler.Outcome handle(Throwable failure)
failure - the exceptionCopyright © 2019 Pivotal Software, Inc.. All rights reserved.