|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.openejb.OpenEJBException
org.openejb.ApplicationException
org.openejb.InvalidateReferenceException
public class InvalidateReferenceException
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.
ApplicationException,
InvalidateReferenceException,
OpenEJBException,
SystemException,
Serialized Form| Constructor Summary | |
|---|---|
InvalidateReferenceException()
Constructs an empty InvalidateReferenceException instance. |
|
InvalidateReferenceException(java.lang.Exception e)
Constructs a InvalidateReferenceException with the source of the problem that occurred. |
|
InvalidateReferenceException(java.lang.String message)
Constructs a InvalidateReferenceException with the specified message indicating the source of the problem that occurred. |
|
InvalidateReferenceException(java.lang.String message,
java.lang.Exception e)
Constructs a InvalidateReferenceException with the specified message indicating the source of the problem that occurred and the original "root cause" exception that was thrown when the problem occurred. |
|
InvalidateReferenceException(java.lang.Throwable t)
Constructs a InvalidateReferenceException with the source of the problem that occurred. |
|
| Method Summary |
|---|
| Methods inherited from class org.openejb.OpenEJBException |
|---|
getMessage, getRootCause, printStackTrace, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvalidateReferenceException()
public InvalidateReferenceException(java.lang.String message)
message - String identifying the source of the problem.public InvalidateReferenceException(java.lang.Exception e)
e - public InvalidateReferenceException(java.lang.Throwable t)
t -
public InvalidateReferenceException(java.lang.String message,
java.lang.Exception e)
message - String identifying the source of the problem.e -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||