atunit.jmock
Class NoMockeryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atunit.jmock.NoMockeryException
All Implemented Interfaces:
Serializable

public class NoMockeryException
extends Exception

Thrown when a test has fields marked as mocks, but no field with a type assignable from Mockery.

JMock mock objects are useless without access to the Mockery (context) from which they were created; presence of the former without the latter implies a mistake.

Author:
Logan Johnson <logan.johnson@gmail.com>
See Also:
Serialized Form

Constructor Summary
NoMockeryException()
           
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoMockeryException

public NoMockeryException()