@API(status=INTERNAL,
since="1.7")
public final class UnrecoverableExceptions
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 |
UnrecoverableExceptions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
rethrowIfUnrecoverable(java.lang.Throwable exception)
Rethrow the supplied
exception if it is
unrecoverable. |