Interface CheckedRunnable<E extends java.lang.Exception>

  • All Superinterfaces:
    java.lang.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 CheckedRunnable<E extends java.lang.Exception>
    extends java.lang.Runnable
    • Method Detail

      • run

        default void run()
        Specified by:
        run in interface java.lang.Runnable
      • checkedRun

        void checkedRun()
                 throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception