@API(value=Internal) public final class BlacklistedExceptions extends java.lang.Object
Blacklisted exceptions are those that should always terminate test plan execution immediately.
OutOfMemoryError
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!
Modifier and Type | Method and Description |
---|---|
static void |
rethrowIfBlacklisted(java.lang.Throwable exception)
Rethrow the supplied
exception if it is
blacklisted. |