Interface RunnableRaisingIOE

All Superinterfaces:
Runnable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RunnableRaisingIOE extends Runnable
Runnable interface whose apply() method may raise an IOE. The implementation of Runnable.run() invokes this and converts any raised IOE into an UncheckedIOException.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Apply the operation.
    default void
    run()
     
  • Method Details

    • apply

      void apply() throws IOException
      Apply the operation.
      Throws:
      IOException - Any IO failure
    • run

      default void run()
      Specified by:
      run in interface Runnable