Module org.junit.platform.commons
Package org.junit.platform.commons.util
Class UnrecoverableExceptions
java.lang.Object
org.junit.platform.commons.util.UnrecoverableExceptions
Internal utilities for working with unrecoverable exceptions.
Unrecoverable exceptions are those that should always terminate test plan execution immediately.
Currently Unrecoverable Exceptions
DISCLAIMER
These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!
- Since:
- 1.7
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidrethrowIfUnrecoverable(Throwable exception) Rethrow the suppliedexceptionif it is unrecoverable.
-
Method Details
-
rethrowIfUnrecoverable
Rethrow the suppliedexceptionif it is unrecoverable.If the supplied
exceptionis not unrecoverable, this method does nothing.
-