Interface ExceptionThrowingRunnable

All Superinterfaces:
Serializable
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 ExceptionThrowingRunnable extends Serializable
An interface to run arbitrary code that does not return any result and may raise an exception.
Author:
Laurent Cohen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Execute this runnable.
  • Method Details

    • run

      void run() throws Exception
      Execute this runnable.
      Throws:
      Exception - if any error occurs.