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:
- java.io.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
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 |
ApplicationException
public ApplicationException()
ApplicationException
public ApplicationException(java.lang.String message)
ApplicationException
public ApplicationException(java.lang.Exception e)
ApplicationException
public ApplicationException(java.lang.Throwable t)
ApplicationException
public ApplicationException(java.lang.String message,
java.lang.Exception e)
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.