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
@API(status=EXPERIMENTAL, since="5.3") public class TestInstantiationException extends JUnitException
Thrown if an error is encountered during the execution of aTestInstanceFactory
.- Since:
- 5.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestInstantiationException(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
-
-