org.apache.tapestry.contrib.ejb
Class XEJBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ejb.EJBException
                  extended by org.apache.tapestry.contrib.ejb.XEJBException
All Implemented Interfaces:
Serializable

public class XEJBException
extends EJBException

Extended version of EJBException that includes a root cause. EJBException doesn't have quite the right constructor for this ... it has an equivalent to the rootCause property, (causedByException), but doesn't have a constructor that allows us to set a custom message.

Version:
$Id: XEJBException.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship
See Also:
Serialized Form

Constructor Summary
XEJBException(String message)
           
XEJBException(String message, Throwable rootCause)
           
XEJBException(Throwable rootCause)
           
 
Method Summary
 Throwable getRootCause()
           
 
Methods inherited from class javax.ejb.EJBException
getCausedByException, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XEJBException

public XEJBException(String message)

XEJBException

public XEJBException(String message,
                     Throwable rootCause)

XEJBException

public XEJBException(Throwable rootCause)
Method Detail

getRootCause

public Throwable getRootCause()