Class ApplicationNotStartedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ApplicationNotStartedException
    extends java.lang.RuntimeException
    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 javax.ejb.NoSuchEJBException.

    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ApplicationNotStartedException

        public ApplicationNotStartedException()
        Constructs a new ApplicationNotStartedException; no message.
      • ApplicationNotStartedException

        public ApplicationNotStartedException​(java.lang.String detailMessage)
        Constructs a new ApplicationNotStartedException with the specified detail message.