Interface ThrowableRunnable<E extends Throwable>

All Superinterfaces:
Runnable
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 ThrowableRunnable<E extends Throwable> extends Runnable
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    run()
     
    void
     
  • Method Details

    • run

      default void run()
      Specified by:
      run in interface Runnable
    • runNow

      void runNow() throws E
      Throws:
      E