Interface ThrowableRunner

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 ThrowableRunner
A functional interface that represents a block of code that can throw an exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Executes the block of code.
  • Method Details

    • run

      void run() throws Exception
      Executes the block of code.
      Throws:
      Exception - if an error occurs while executing the code block.