0 Replies Latest reply on May 2, 2006 7:27 PM by kenrod

    "Already marked for rollback" swallows original cause - 404R

    kenrod Newbie

      Dear All,

      Please tell me to shut up if this violates the EJB3 spec, but could the Exception that gets thrown saying a JTA transaction is 'already marked for rollback' please have as its getCause() the original exception that caused the transaction to roll back?

      I have a chain of EJBs that correctly throw and rollback, but it is frustrating that the original Exception gets lost by the time it bubbles up to the top? I want to get something like 'NumberFormatException'.

      I am happy to open a JIRA if people agree this would be a handy addition.

      Regards,

      Richard.