Interface ThrowableCollector.Executable

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

    public static interface ThrowableCollector.Executable
    Functional interface for an executable block of code that may throw a Throwable.
    • Method Detail

      • execute

        void execute()
              throws Throwable
        Execute this executable, potentially throwing a Throwable that signals abortion or failure.