0 Replies Latest reply on Sep 13, 2004 10:34 PM by jeffmparker

    Getting the root cause of a RemoveException

    jeffmparker

      Is there any way of getting the root cause of a RemoveException in JBOSS. If I try to call remove on a CMP Entity Bean and the remove fails due to a Restrict delete rule set up in my DB2 Database I can see the DB2 exception on the console, but if I use the getCause() method on the RemoteException it returns null. We recently ported our system from Weblogic to JBOSS and under Weblogic we were able to use the getCause() method to get the root cause of a RemoteException in order to display corrective action messages for our users. Is there a way to do this with JBOSS.

      Thanks,

      Jeff