org.mockito.exceptions.base
Class MockitoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mockito.exceptions.base.MockitoException
All Implemented Interfaces:
java.io.Serializable, HasStackTrace
Direct Known Subclasses:
ActualArgumentsAreDifferent, InvalidUseOfMatchersException, MissingMethodInvocationException, NotAMockException, NullInsteadOfMockException, ShouldBeInvokedAfter, TooLittleInvocations, UndesiredInvocation, UnfinishedStubbingException, UnfinishedVerificationException, WantedAnywhereAfterFollowingInteraction

public class MockitoException
extends java.lang.RuntimeException
implements HasStackTrace

See Also:
Serialized Form

Constructor Summary
MockitoException(java.lang.String message)
           
MockitoException(java.lang.String message, java.lang.Throwable t)
           
 
Method Summary
 java.lang.StackTraceElement[] getUnfilteredStackTrace()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mockito.exceptions.base.HasStackTrace
getStackTrace, setStackTrace
 

Constructor Detail

MockitoException

public MockitoException(java.lang.String message,
                        java.lang.Throwable t)

MockitoException

public MockitoException(java.lang.String message)
Method Detail

getUnfilteredStackTrace

public java.lang.StackTraceElement[] getUnfilteredStackTrace()