Package org.mockito.creation.instance
Class InstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mockito.exceptions.base.MockitoException
org.mockito.creation.instance.InstantiationException
- All Implemented Interfaces:
Serializable
Exception generated when
Instantiator.newInstance(Class)
failed.- Since:
- 2.15.4
- See Also:
-
Constructor Summary
ConstructorDescriptionInstantiationException
(String message) InstantiationException
(String message, Throwable cause) -
Method Summary
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InstantiationException
- Since:
- 3.5.0
-
InstantiationException
- Since:
- 2.15.4
-