E
- the type of Throwable declared@FunctionalInterface public interface CheckedRunnable<E extends Throwable>
Runnable
Essentially Runnable
that has the declared propensity to throw
For the equivalent of Callable
, see CheckedSupplier
Runnable
Modifier and Type | Method and Description |
---|---|
default CheckedRunnable<E> |
andThen(CheckedRunnable<? extends E> after) |
void |
run()
See
Runnable.run() |
void run() throws E extends Throwable
Runnable.run()
default CheckedRunnable<E> andThen(CheckedRunnable<? extends E> after)
after
- the checked runnable to run sequentially after this
NullPointerException
- if after
is null
Copyright © 2016–2018 earcam. All rights reserved.