Interface ThrowingRunnable

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
Based on Java's Runnable with the difference that this class may permit the throwing of an Exception.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    The callback that gets ran.
  • Method Details

    • run

      void run() throws Exception
      The callback that gets ran.
      Throws:
      Exception - in case an exception occurs while it is being run