Interface ThrowingRunnable<E extends Throwable>

Type Parameters:
E - Exception
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 interface ThrowingRunnable<E extends Throwable>
Runnable with a generic exception.
Since:
4.10
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Can perform any operation whatsoever.
  • Method Details

    • run

      void run() throws E
      Can perform any operation whatsoever.
      Throws:
      E - the generic exception.