Top Description Constructors Methods
org.junit.platform.commons.util

public final Class UnrecoverableExceptions

extends Object
Class Inheritance
Annotations
@API
status:INTERNAL
since:1.7
Static Imports
org.apiguardian.api.API.Status.INTERNAL

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.7

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
rethrowIfUnrecoverable(@Nullable Throwable exception)

Rethrow the supplied exception if it is unrecoverable.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

UnrecoverableExceptionsback to summary
private UnrecoverableExceptions()

Method Detail

rethrowIfUnrecoverableback to summary
public static void rethrowIfUnrecoverable(@Nullable Throwable exception)

Rethrow the supplied exception if it is unrecoverable.

If the supplied exception is not unrecoverable, this method does nothing.