Functions.FailableRunnable

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

Deprecated: Use FailableRunnable.

A functional interface like Runnable that declares a Throwable.

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

Type parameters:

<T> – Thrown exception.

Methods

void

run()

Runs the function.

void run() throws T[source]

Runs the function.

Throws:

T – Thrown when the function fails.