Class RethrowingThrowableCollector

java.lang.Object
io.cucumber.core.runtime.RethrowingThrowableCollector

final class RethrowingThrowableCollector extends Object
Collects and rethrows thrown exceptions.
  • Field Details

  • Constructor Details

    • RethrowingThrowableCollector

      RethrowingThrowableCollector()
  • Method Details

    • executeAndThrow

      void executeAndThrow(Runnable runnable)
    • executeAndThrow

      <T extends @Nullable Object> T executeAndThrow(Supplier<T> supplier)
    • add

      void add(Throwable throwable)
    • getThrowable

      @Nullable Throwable getThrowable()