Interface PipelineErrorHandler
public interface PipelineErrorHandler
-
Method Summary
Modifier and TypeMethodDescriptiondefault PipelineErrorHandlerandThen(PipelineErrorHandler nextErrorHandler) static <E extends Throwable>
voidthrowUnlessExcepted(E exception, Collection<Class<? extends Throwable>> except) static OutputwrapChecked(Exception ex, Output previous, Object input, Context context, PipelineTag tag)
-
Method Details
-
handle
Output handle(Exception exception, Output previous, Object input, Context context, PipelineTag tag) throws PipelineException - Throws:
PipelineException
-
andThen
-
wrapChecked
static Output wrapChecked(Exception ex, Output previous, Object input, Context context, PipelineTag tag) throws PipelineException - Throws:
PipelineException
-
throwUnlessExcepted
static <E extends Throwable> void throwUnlessExcepted(E exception, Collection<Class<? extends Throwable>> except) throws E - Throws:
E extends Throwable
-