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

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

      • execute

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