Class 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 a TestInstanceFactory.
    Since:
    5.3
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TestInstantiationException

        public TestInstantiationException​(java.lang.String message)
      • TestInstantiationException

        public TestInstantiationException​(java.lang.String message,
                                          java.lang.Throwable cause)