Interface Functions.FailableRunnable<T extends Throwable>

Type Parameters:
T - Thrown exception.
Enclosing class:
Functions
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Deprecated.
A functional interface like Runnable that declares a Throwable.

TODO for 4.0: Move to org.apache.commons.lang3.function.

  • Method Summary

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

    • run

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