Interface ThrowingRunnable<E extends Exception>

Type Parameters:
E - the exception type
All Known Implementing Classes:
SetPvLimitHandler, SetPvLimitHandler
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 Exception>
This interface is similar to the java.util interface Runnable. Difference is, that it allows the run() method to throw a defined Exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
  • Method Details

    • run

      void run() throws E
      When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

      The general contract of the method run is that it may take any action whatsoever.

      Throws:
      E - on error
      See Also: