Top Description Fields Constructors
org.junit.jupiter.api.extension

public Class TestInstantiationException

extends JUnitException
Class Inheritance
Annotations
@API
status:STABLE
since:5.10
Static Imports
org.apiguardian.api.API.Status.STABLE

Thrown if an error is encountered during the execution of a TestInstanceFactory.
Since
5.3

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
public

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.junit.platform.commons.JUnitException.serialVersionUID.

Constructor Detail

TestInstantiationExceptionback to summary
public TestInstantiationException(String message)
TestInstantiationExceptionback to summary
public TestInstantiationException(String message, Throwable cause)