E
- exception-type if run()
fails.@FunctionalInterface public interface CheckedRunnable<E extends Exception>
Runnable
but can also throw an exception.Modifier and Type | Method and Description |
---|---|
void |
run()
Runs an operation like with
Runnable.run() . |
void run() throws E extends Exception
Runnable.run()
.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.