Class MockitoSerializationIssue
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.ObjectStreamException
org.mockito.exceptions.base.MockitoSerializationIssue
- All Implemented Interfaces:
Serializable
Raised by mockito to emit an error either due to Mockito, or due to the User.
The stack trace is filtered from mockito calls if you are using Throwable.getStackTrace().
For debugging purpose though you can still access the full stacktrace using getUnfilteredStackTrace().
However note that other calls related to the stackTrace will refer to the filter stacktrace.
- Since:
- 1.10.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
unfilteredStackTrace
-
-
Constructor Details
-
MockitoSerializationIssue
-
-
Method Details
-
filterStackTrace
private void filterStackTrace() -
getUnfilteredStackTrace
-