Interface StepErrorHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Author:
- Pierre Lecerf ([email protected])
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StepErrorHandler
andThen
(StepErrorHandler nextErrorHandler) static StepErrorHandler
rethrowAllExcept
(StepErrorHandler wrapper, Class<? extends Throwable>... except) static StepErrorHandler
rethrowAllExcept
(StepErrorHandler wrapper, Collection<Class<? extends Throwable>> except)
-
Field Details
-
RETHROW_ALL
-
-
Method Details
-
handle
Result handle(Exception exception, Object input, Object payload, Results results, LocalContext context) throws Exception - Throws:
Exception
-
andThen
-
rethrowAllExcept
@SafeVarargs static StepErrorHandler rethrowAllExcept(StepErrorHandler wrapper, Class<? extends Throwable>... except) -
rethrowAllExcept
static StepErrorHandler rethrowAllExcept(StepErrorHandler wrapper, Collection<Class<? extends Throwable>> except)
-