org.apache.openejb
Class InvalidateReferenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.openejb.OpenEJBException
              extended by org.apache.openejb.ApplicationException
                  extended by org.apache.openejb.InvalidateReferenceException
All Implemented Interfaces:
Serializable

public class InvalidateReferenceException
extends ApplicationException

This type is thrown when the EnterpriseBean throws a RuntimeException or system exception that results in the eviction of the bean instance. The InvalidateReferenceException's nested exception will be a RemoteException or possibly an ObjectNotFoundException. The Application Server must catch the InvalidateReferenceException and its nested exception rethrown by the bean proxy. After the exception is re-thrown by the bean proxy, the bean proxy must be invalidated so that all subsequent invocations by the client on that bean proxy throw a RemoteException. The proxy is made invalid. InvalidateReferenceException is non-system exception; it does NOT indicate a problem with the container itself.

See Also:
ApplicationException, InvalidateReferenceException, OpenEJBException, SystemException, Serialized Form

Constructor Summary
InvalidateReferenceException()
           
InvalidateReferenceException(Exception e)
           
InvalidateReferenceException(String message)
           
InvalidateReferenceException(String message, Exception e)
           
InvalidateReferenceException(Throwable t)
           
 
Method Summary
 
Methods inherited from class org.apache.openejb.OpenEJBException
getMessage, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

InvalidateReferenceException

public InvalidateReferenceException()

InvalidateReferenceException

public InvalidateReferenceException(String message)

InvalidateReferenceException

public InvalidateReferenceException(Exception e)

InvalidateReferenceException

public InvalidateReferenceException(Throwable t)

InvalidateReferenceException

public InvalidateReferenceException(String message,
                                    Exception e)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.