public class MockitoSerializationIssue extends ObjectStreamException
The stack trace is filtered from mockito calls if you are using 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.
| Constructor and Description |
|---|
MockitoSerializationIssue(String message,
Exception cause) |
| Modifier and Type | Method and Description |
|---|---|
StackTraceElement[] |
getStackTrace() |
StackTraceElement[] |
getUnfilteredStackTrace() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic StackTraceElement[] getStackTrace()
getStackTrace in class Throwablepublic StackTraceElement[] getUnfilteredStackTrace()
Mockito, MIT License