Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » [javadoc | source]
org.apache.openejb
public class: InvalidateReferenceException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         org.apache.openejb.OpenEJBException
            org.apache.openejb.ApplicationException
               org.apache.openejb.InvalidateReferenceException

All Implemented Interfaces:
    Serializable

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.
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public InvalidateReferenceException() 
 public InvalidateReferenceException(String message) 
 public InvalidateReferenceException(Exception e) 
 public InvalidateReferenceException(Throwable t) 
 public InvalidateReferenceException(String message,
    Exception e) 
Methods from org.apache.openejb.OpenEJBException:
getMessage,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait