Interface Callbacks.FailableRunnable<E extends Throwable>

Type Parameters:
E - The type of exception that may be thrown.
Enclosing class:
Callbacks
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 Callbacks.FailableRunnable<E extends Throwable>
Functional interface for a runnable with the potential to throw an exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Runs the function.
  • Method Details

    • run

      void run() throws E
      Runs the function.
      Throws:
      E - Thrown when the function fails.