Interface ThrowableCollector.Executable

Enclosing class:
ThrowableCollector
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 static interface ThrowableCollector.Executable
Functional interface for an executable block of code that may throw a Throwable.
  • Method Summary

    Modifier and Type Method Description
    void execute()
    Execute this executable, potentially throwing a Throwable that signals abortion or failure.
  • Method Details

    • execute

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