[jboss-dev-forums] [Design of EJB 3.0] - Re: Rollback Tx on EJBException (NoSuchEJBException)?
jaikiran
do-not-reply at jboss.com
Fri Aug 15 02:25:49 EDT 2008
This is not an answer to your question in the subject line :)
"ALRubinger" wrote :
| + else if(t instanceof RuntimeException)
| + {
| t = new EJBTransactionRolledbackException(t.getMessage(), (Exception) t);
| }
|
But, shouldn't there be an additional check here, before wrapping it in EJBTransactionRolledbackException, to see if this exception is marked as an application exception by the bean provider, either through @ApplicationException annotation or its xml equivalent?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170694#4170694
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170694
More information about the jboss-dev-forums
mailing list