Module org.junit.platform.commons
Package org.junit.platform.commons.util
Class BlacklistedExceptions
- java.lang.Object
-
- org.junit.platform.commons.util.BlacklistedExceptions
-
@Deprecated @API(status=DEPRECATED, since="1.7") public final class BlacklistedExceptions extends Object
Deprecated.UseUnrecoverableExceptions
instead.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.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
rethrowIfBlacklisted(Throwable exception)
Deprecated.
-
-
-
Method Detail
-
rethrowIfBlacklisted
@Deprecated public static void rethrowIfBlacklisted(Throwable exception)
Deprecated.Rethrow the suppliedexception
if it is unrecoverable.If the supplied
exception
is not unrecoverable, this method does nothing.
-
-