Package org.junit.platform.commons.util
Class BlacklistedExceptions
- java.lang.Object
-
- org.junit.platform.commons.util.BlacklistedExceptions
-
@API(status=INTERNAL, since="1.0") public final class BlacklistedExceptions extends java.lang.Object
Internal utilities for working with blacklisted exceptions.Blacklisted exceptions are those that should always terminate test plan execution immediately.
Currently Blacklisted Exceptions
OutOfMemoryError
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 Modifier and Type Method Description static void
rethrowIfBlacklisted(java.lang.Throwable exception)
Rethrow the suppliedexception
if it is blacklisted.
-