org.apache.openejb
Class OpenEJBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.openejb.OpenEJBException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ApplicationException, DuplicateDeploymentIdException, NoSuchApplicationException, NoSuchProviderException, ServiceException, SystemException, TimerStoreException, UndeployException, UnsupportedModuleTypeException, ValidationFailedException

public class OpenEJBException
extends java.lang.Exception

The OpenEJBException is the standard exception thrown by all methods in all type in the Container Provider Interface (CPI). The OpenEJBException has 3 subtypes each serving a different purpose. The Container will always thrown one of these subtype and should never the OpenEJBException itself.

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

Constructor Summary
OpenEJBException()
           
OpenEJBException(java.lang.String message)
           
OpenEJBException(java.lang.String message, java.lang.Throwable rootCause)
           
OpenEJBException(java.lang.Throwable rootCause)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.Throwable 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

OpenEJBException

public OpenEJBException()

OpenEJBException

public OpenEJBException(java.lang.String message)

OpenEJBException

public OpenEJBException(java.lang.Throwable rootCause)

OpenEJBException

public OpenEJBException(java.lang.String message,
                        java.lang.Throwable rootCause)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getRootCause

public java.lang.Throwable getRootCause()


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