Package io.cucumber.core.exception
Class UnrecoverableExceptions
- java.lang.Object
-
- io.cucumber.core.exception.UnrecoverableExceptions
-
public final class UnrecoverableExceptions extends Object
Utility for filtering out unrecoverable exceptions. Cucumber invokes methods that may throw arbitrary exceptions. These can only be caught asThrowable. Some of these such asOutOfMemoryErrorshould never be caught and end in termination of the application.
-
-
Method Detail
-
rethrowIfUnrecoverable
public static void rethrowIfUnrecoverable(Throwable exception)
-
-