Package org.wildfly.common.function
Interface ExceptionRunnable<E extends java.lang.Exception>
-
public interface ExceptionRunnable<E extends java.lang.Exception>
An operation that can throw an exception.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExceptionRunnable<E>
andThen(ExceptionRunnable<? extends E> after)
default ExceptionRunnable<E>
compose(ExceptionRunnable<? extends E> before)
void
run()
Run the operation.
-
-
-
Method Detail
-
run
void run() throws E extends java.lang.Exception
Run the operation.
-
andThen
default ExceptionRunnable<E> andThen(ExceptionRunnable<? extends E> after)
-
compose
default ExceptionRunnable<E> compose(ExceptionRunnable<? extends E> before)
-
-