Interface SinkErrorHandler
- 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 SinkErrorHandler
andThen
(SinkErrorHandler nextErrorHandler) void
handle
(Exception exception, Output output, LocalContext context) static SinkErrorHandler
rethrowAllExcept
(Class<? extends Throwable>... except) static SinkErrorHandler
rethrowAllExcept
(Collection<Class<? extends Throwable>> except)
-
Field Details
-
RETHROW_ALL
-
-
Method Details
-
handle
- Throws:
Exception
-
andThen
-
rethrowAllExcept
-
rethrowAllExcept
-