E
- the type of exceptions that can be thrown by the command@FunctionalInterface public interface ThrowingRunnable<E extends Throwable>
ThrowingRunnable
interface expands on the Runnable
interface to provide
the ability to throw back exceptions.
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.
Modifier and Type | Method and Description |
---|---|
void |
run()
Executes user-defined code.
|
This work is licensed under a Creative Commons Attribution 4.0 International License.