Package io.cucumber.core.runtime
Class RethrowingThrowableCollector
java.lang.Object
io.cucumber.core.runtime.RethrowingThrowableCollector
Collects and rethrows thrown exceptions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) voidexecuteAndThrow(Runnable runnable) (package private) <T extends @Nullable Object>
TexecuteAndThrow(Supplier<T> supplier) (package private) @Nullable Throwable
-
Field Details
-
thrown
-
-
Constructor Details
-
RethrowingThrowableCollector
RethrowingThrowableCollector()
-
-
Method Details
-
executeAndThrow
-
executeAndThrow
-
add
-
getThrowable
@Nullable Throwable getThrowable()
-