public class XEJBException extends javax.ejb.EJBException
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.Constructor and Description |
---|
XEJBException(java.lang.String message) |
XEJBException(java.lang.String message,
java.lang.Throwable rootCause) |
XEJBException(java.lang.Throwable rootCause) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getRootCause() |
getCausedByException, getMessage, printStackTrace, printStackTrace, printStackTrace
public XEJBException(java.lang.String message)
public XEJBException(java.lang.String message, java.lang.Throwable rootCause)
public XEJBException(java.lang.Throwable rootCause)
public java.lang.Throwable getRootCause()