Interface Lifecycle.ThrowingRunnable<E extends Exception>

Type Parameters:
E - the exception which might be thrown
Enclosing class:
Lifecycle
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Lifecycle.ThrowingRunnable<E extends Exception>
Runnable task/method, which might throw an exception E.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Running the task.
  • Method Details

    • run

      void run() throws E
      Running the task.
      Throws:
      E - if an error occurs while running the task