public interface ExceptionRunnable<E extends java.lang.Exception>
| Modifier and Type | Method and Description |
|---|---|
default ExceptionRunnable<E> |
andThen(ExceptionRunnable<? extends E> after) |
default ExceptionRunnable<E> |
compose(ExceptionRunnable<? extends E> before) |
void |
run()
Run the operation.
|
void run() throws E extends java.lang.Exception
E - if an exception occursE extends java.lang.Exceptiondefault ExceptionRunnable<E> andThen(ExceptionRunnable<? extends E> after)
default ExceptionRunnable<E> compose(ExceptionRunnable<? extends E> before)
Copyright © 2015 JBoss, a division of Red Hat, Inc.