Module org.junit.jupiter.api
Package org.junit.jupiter.api.extension
Class TestInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.junit.platform.commons.JUnitException
org.junit.jupiter.api.extension.TestInstantiationException
- All Implemented Interfaces:
Serializable
Thrown if an error is encountered during the execution of
a
TestInstanceFactory
.- Since:
- 5.3
- See Also:
-
Constructor Summary
ConstructorDescriptionTestInstantiationException
(String message) TestInstantiationException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TestInstantiationException
-
TestInstantiationException
-