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:
java.io.Serializable
@API(status=EXPERIMENTAL, since="5.3") public class TestInstantiationException extends org.junit.platform.commons.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(java.lang.String message)
TestInstantiationException(java.lang.String message, java.lang.Throwable cause)
-