public static interface SerializedExecutor.ErrorHandlingTask extends java.lang.Runnable, java.util.function.Consumer<java.lang.Throwable>
If a submitted task implements this interface, it will be passed any exceptions thrown when running the task.
run
accept, andThen