Interface RunThrowable

  • 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 RunThrowable
    extends Runnable
    • Method Detail

      • run

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

        void runThrows()
                throws Throwable
        Performs this operation on the given argument.
        Throws:
        Throwable - when the underlying apply throws
      • handleConnection

        static void handleConnection​(RunThrowable function)