Interface SerializedExecutor.ErrorHandlingTask

  • All Superinterfaces:
    java.util.function.Consumer<java.lang.Throwable>, java.lang.Runnable
    Enclosing class:
    SerializedExecutor

    public static interface SerializedExecutor.ErrorHandlingTask
    extends java.lang.Runnable, java.util.function.Consumer<java.lang.Throwable>
    Error handling task

    If a submitted task implements this interface, it will be passed any exceptions thrown when running the task.

    • Method Summary

      • Methods inherited from interface java.util.function.Consumer

        accept, andThen
      • Methods inherited from interface java.lang.Runnable

        run