org.mockejb
Class MustBeInterceptedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.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)
           
 
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()