org.apache.openejb
Class ApplicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.openejb.OpenEJBException
              extended by org.apache.openejb.ApplicationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidateReferenceException

public class ApplicationException
extends OpenEJBException

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.

See Also:
ApplicationException, InvalidateReferenceException, OpenEJBException, SystemException, Serialized Form

Constructor Summary
ApplicationException()
           
ApplicationException(Exception e)
           
ApplicationException(String message)
           
ApplicationException(String message, Exception e)
           
ApplicationException(Throwable t)
           
 
Method Summary
 
Methods inherited from class org.apache.openejb.OpenEJBException
getMessage, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationException

public ApplicationException()

ApplicationException

public ApplicationException(String message)

ApplicationException

public ApplicationException(Exception e)

ApplicationException

public ApplicationException(Throwable t)

ApplicationException

public ApplicationException(String message,
                            Exception e)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.