Interface ThrowingRunnable<X extends Throwable>

Type Parameters:
X - the throwable that can be thrown when running the action
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<X extends Throwable>
Represents a runnable action that can throw
See Also:
  • Method Summary

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

    • run

      void run() throws X
      Runs the action
      Throws:
      X
      See Also: