Class EJBStoppedException
- All Implemented Interfaces:
Serializable
When an application is started again, any local references obtained using an earlier running version of the application must be replaced. Generally, every time an application is started, a new classloader instance is used, so local references obtained for an application that was loaded with one classloader will not be compatible with references obtained for the same application started later with a different classloader.
Remote references will not work when no version of the application is running, but will resume working when a new version of the application is started, assume no incompatible interface changes have been made.
Note: an EJBStoppedException would not be returned directly to an application, but would be nested within the appropriate exception required by the EJB Specification for the type of EJB access being attempted. For example, an attempt to use a reference to an EJB local business interface would result in a jakarta.ejb.NoSuchEJBException.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new EJBStoppedException; no message.EJBStoppedException
(String detailMessage) Constructs a new EJBStoppedException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EJBStoppedException
public EJBStoppedException()Constructs a new EJBStoppedException; no message. -
EJBStoppedException
Constructs a new EJBStoppedException with the specified detail message.
-