UnrecoverableExceptions instead.@Deprecated
@API(status=DEPRECATED,
since="1.7")
public final class BlacklistedExceptions
extends java.lang.Object
Unrecoverable exceptions are those that should always terminate test plan execution immediately.
OutOfMemoryErrorThese 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 | Constructor and Description |
|---|---|
private |
BlacklistedExceptions()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
rethrowIfBlacklisted(java.lang.Throwable exception)
Deprecated.
|
@Deprecated public static void rethrowIfBlacklisted(java.lang.Throwable exception)
UnrecoverableExceptions.rethrowIfUnrecoverable(java.lang.Throwable)
instead.exception if it is
unrecoverable.
If the supplied exception is not unrecoverable, this
method does nothing.