@FunctionalInterface public interface IORunnable
Runnable
but throws IOException
.Modifier and Type | Method and Description |
---|---|
default Runnable |
asRunnable()
|
void |
run()
Like
Runnable.run() but throws IOException . |
default Runnable asRunnable()
void run() throws IOException
Runnable.run()
but throws IOException
.IOException
- if an I/O error occurs.Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.