org.mockejb
Class MustBeInterceptedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mockejb.MustBeInterceptedException
All Implemented Interfaces:
java.io.Serializable

public class MustBeInterceptedException
extends java.lang.RuntimeException

Indicates that the method you're trying to call must be intercepted, MockEJB itself does not support this method. This is usually the case for CMP finders.

See Also:
Serialized Form

Constructor Summary
MustBeInterceptedException()
           
MustBeInterceptedException(java.lang.reflect.Method method)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MustBeInterceptedException

public MustBeInterceptedException(java.lang.reflect.Method method)
Parameters:
method - Method that must have been intercepted

MustBeInterceptedException

public MustBeInterceptedException()