Interface ExceptionUtil.ExceptionRunnable

Enclosing class:
ExceptionUtil
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 static interface ExceptionUtil.ExceptionRunnable
Functional interface for code blocks that may throw an Exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Executes the code block, potentially throwing an Exception.
  • Method Details

    • run

      void run() throws Exception
      Executes the code block, potentially throwing an Exception.
      Throws:
      Exception - if an error occurs during execution