org.apache.openejb
Class ApplicationException
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
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
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.