On this page

FailableRunnable

@FunctionalInterface public abstract interface org.apache.commons.lang3.function.FailableRunnable<E extends Throwable>[source]

A functional interface like Runnable that declares a kind of Throwable.

Parameters:

<E> – The kind of Throwable.

Since:

3.11

Methods

run()

Runs the function.

public abstract void run() throws E[source]

Runs the function.

Throws:

E – Thrown when the function fails.