Module io.smallrye.common.function
Package io.smallrye.common.function
Interface ExceptionRunnable<E extends Exception>
public interface ExceptionRunnable<E extends Exception>
An operation that can throw an exception.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExceptionRunnable<E> andThen(ExceptionRunnable<? extends E> after) default ExceptionRunnable<E> compose(ExceptionRunnable<? extends E> before) voidrun()Run the operation.
-
Method Details
-
run
void run() throws ERun the operation.- Throws:
E- if an exception occurs
-
andThen
-
compose
-