@FunctionalInterface
public interface IOExceptionRunnable
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Runnable |
asRunnable(IOExceptionRunnable r)
Wraps a runnable that may throw an IO Exception throwing an
UncheckedIOException. |
void |
run()
Runs the runnable.
|
void run() throws java.io.IOException
java.io.IOException - failed to runstatic java.lang.Runnable asRunnable(IOExceptionRunnable r)
UncheckedIOException.r - the runnable