Interface CheckedRunnable

  • 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 CheckedRunnable
    A checked version of Runnable.

    This is intended to be used with Unchecked.

    • Method Detail

      • run

        void run()
          throws Throwable
        Performs an action.
        Throws:
        Throwable - if an error occurs