saker.util Documentation TaskDoc JavaDoc Packages
public interface ThrowingRunnable
Functional interface similar to Runnable, except the run() method is allowed to throw an arbitrary exception.

The run() method is declared to be able to throw Exception, therefore a functional interface such as this can be used in contexts where users may throw checked exceptions.

Methods
public void
run()
Runs the operations that the subclass defines.
public abstract void run() throws Exception
Runs the operations that the subclass defines.
ExceptionIf the execution fails in any way.