# Interface AsyncRunner.SafeRunnable

Enclosing class:
  `AsyncRunner`

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 AsyncRunner.SafeRunnable
A functional interface similar to `Runnable`, but allows for methods that can throw `Exception`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `run()`
  The task to be performed, which may throw an `Exception`.

- ## Method Details

  - ### run

    void run() throws Exception
    The task to be performed, which may throw an `Exception`.
    Throws:
      `Exception` - If an error occurs during the execution of the task.