Module iu.util
Package edu.iu

Interface UnsafeRunnable

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 UnsafeRunnable
Equivalent to Runnable, but may throw any exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Runs unsafe code.
  • Method Details

    • run

      void run() throws Throwable
      Runs unsafe code.
      Throws:
      Throwable - If thrown by the unsafe code.