users@glassfish.java.net

Re: Exception Interceptor

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Mon, 29 Jun 2009 11:25:55 -0700

Is transaction marked for rollback at the time you catch the exception?

thanks,
-marina

glassfish_at_javadesktop.org wrote:
> I can verify that no other exception is showing in the log except the "marked for rollback". I turned everything up to Trace in the logging at one point to try to get more detail, but after a lot of looking I didn't find anything that helped.
>
> If I turn off the @AroundInvoke interceptor, the real exceptions come through just fine, such as Hibernate Validator's InvalidStateException. With the interceptor catching that and throwing my ServerSideException, then only the rollback exception comes through.
> [Message sent by forum member 'culli' (culli)]
>
> http://forums.java.net/jive/thread.jspa?messageID=353453
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>