@FunctionalInterface public interface IORunnable
Runnable but throws IOException.| Modifier and Type | Method and Description |
|---|---|
default Runnable |
asRunnable()
|
static IORunnable |
noop()
Returns the constant no-op runnable.
|
void |
run()
Like
Runnable.run() but throws IOException. |
default Runnable asRunnable()
static IORunnable noop()
void run() throws IOException
Runnable.run() but throws IOException.IOException - if an I/O error occurs.