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

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    InvalidateReferenceException

This exception is thrown when a normal EnterpriseBean exception is thrown. It acts as a carrier or wrapper for the actual application exception. The ApplicationException's nested exception will be either an EJB spec defined ApplicationException ( or a custom exception defined by the bean developer) or a RemoteException. The org.apache.openejb.ApplicationException must be caught and its nested exception rethrown by the bean proxy to the client. The org.apache.openejb.ApplicationException is non-system exception; it does NOT indicate a problem with the contaienr itself.
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public ApplicationException() 
 public ApplicationException(String message) 
 public ApplicationException(Exception e) 
 public ApplicationException(Throwable t) 
 public ApplicationException(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