public class MockitoSerializationIssue
extends java.io.ObjectStreamException
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.
| Modifier and Type | Field and Description |
|---|---|
private java.lang.StackTraceElement[] |
unfilteredStackTrace |
| Constructor and Description |
|---|
MockitoSerializationIssue(java.lang.String message,
java.lang.Exception cause) |
| Modifier and Type | Method and Description |
|---|---|
private void |
filterStackTrace() |
java.lang.StackTraceElement[] |
getUnfilteredStackTrace() |