Package com.ibm.websphere.ejbcontainer
Class ApplicationNotStartedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.websphere.ejbcontainer.ApplicationNotStartedException
- All Implemented Interfaces:
Serializable
The ApplicationNotStartedException is thrown by the Enterprise Java Bean (EJB)
container when an attempt is made to access either an EJB instance
or EJB home before the application is fully started and on
a thread different from the one being used to start
the application. The only EJB work that is allowed during
application start processing is work being performed for startup
Singleton beans or legacy IBM startup beans.
Note: An ApplicationNotStartedException 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 ApplicationNotStartedException; no message.ApplicationNotStartedException
(String detailMessage) Constructs a new ApplicationNotStartedException 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
-
ApplicationNotStartedException
public ApplicationNotStartedException()Constructs a new ApplicationNotStartedException; no message. -
ApplicationNotStartedException
Constructs a new ApplicationNotStartedException with the specified detail message.
-