seems that this is a problem copied from el: the root cause is a special member instead of using the exception cause.
public class ELException | extends Exception | { | private static final long serialVersionUID = 1L; | | //------------------------------------- | // Member variables | //------------------------------------- | | private Throwable mRootCause; | | //------------------------------------- | /** | * Creates an ELException with no detail message. | **/ | public ELException () | { | super (); | } | | //------------------------------------- | /** | * Creates an ELException with the provided detail message. | * | * @param pMessage the detail message | **/ | public ELException (String pMessage) | { | super (pMessage); | } | | //------------------------------------- | /** | * Creates an ELException with the given root cause. | * | * @param pRootCause the originating cause of this exception | **/ | public ELException (Throwable pRootCause) | { | super( pRootCause.getLocalizedMessage() ); | mRootCause = pRootCause; | } | | //------------------------------------- | /** | * Creates an ELException with the given detail message and root cause. | * | * @param pMessage the detail message | * @param pRootCause the originating cause of this exception | **/ | public ELException (String pMessage, | Throwable pRootCause) | { | super (pMessage); | mRootCause = pRootCause; | } | | //------------------------------------- | /** | * Returns the root cause. | * | * @return the root cause of this exception | */ | public Throwable getRootCause () | { | return mRootCause; | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947205#3947205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947205 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user