Interface IOExceptionRunnable
-
public interface IOExceptionRunnableRunnable that can throw I/O exceptions.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static java.lang.RunnableasRunnable(IOExceptionRunnable r)Wraps a runnable that may throw an IO Exception throwing anUncheckedIOException.voidrun()Runs the runnable.
-
-
-
Method Detail
-
run
void run() throws java.io.IOException
Runs the runnable.- Throws:
java.io.IOException- failed to run
-
asRunnable
static java.lang.Runnable asRunnable(IOExceptionRunnable r)
Wraps a runnable that may throw an IO Exception throwing anUncheckedIOException.- Parameters:
r- the runnable
-
-