Class MockitoSerializationIssue

  • All Implemented Interfaces:
    Serializable

    public class MockitoSerializationIssue
    extends ObjectStreamException
    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:
    Serialized Form
    • Constructor Detail

      • MockitoSerializationIssue

        public MockitoSerializationIssue​(String message,
                                         Exception cause)