Interface IOExceptionRunnable


  • public interface IOExceptionRunnable
    Runnable that can throw I/O exceptions.
    • 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 an UncheckedIOException.
        Parameters:
        r - the runnable