Functions.FailableRunnable

@Deprecated @FunctionalInterface public abstract static interface org.apache.commons.lang3.Functions.FailableRunnable<T extends Throwable>[source]

A functional interface like Runnable that declares a Throwable.

TODO for 4.0: Move to org.apache.commons.lang3.function.

Parameters:

<T> – Thrown exception.

Methods

run()

Runs the function.

public abstract void run() throws T[source]

Runs the function.

Throws:

T – Thrown when the function fails.