im not sure that i completely understand what you mean, but here we go :)
you have a method yyy() that throws an exception which again triggers a rollback and an exception is then again thrown on the method thats "outside" of the transaction (correct?).
which exception do you want to catch? the rollback or the exception that triggers the rollback. both are possible to catch.
the code example that i provided is just an example of how to throw another exception than the one that was thrown. you …
[View More]can just alter it to not throw an exception if that is what you want.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147605#4147605
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147605
[View Less]