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
public class InstantiationException extends MockitoException
Exception generated whenInstantiator.newInstance(Class)
failed.- Since:
- 2.15.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstantiationException(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
-
-