Top Description Methods
org.wildfly.common.function

public Interface ExceptionRunnable<E extends java.lang.Exception>

Known Direct Implementers
org.wildfly.common.function.Functions.ExceptionBiConsumerRunnable, org.wildfly.common.function.Functions.ExceptionConsumerRunnable
Imports
org.wildfly.common.Assert

An operation that can throw an exception.
Author
David M. Lloyd

Method Summary

Modifier and TypeMethod and Description
public default ExceptionRunnable<E>
andThen(ExceptionRunnable<? extends E> after)

public default ExceptionRunnable<E>
compose(ExceptionRunnable<? extends E> before)

public void
run()

Run the operation.

Method Detail

andThenback to summary
public default ExceptionRunnable<E> andThen(ExceptionRunnable<? extends E> after)
composeback to summary
public default ExceptionRunnable<E> compose(ExceptionRunnable<? extends E> before)
runback to summary
public void run() throws ExceptionBiConsumer:E

Run the operation.

Exceptions
ExceptionBiConsumer:E:
if an exception occurs