[jboss-user] [JBoss Seam] - Re: Exception Handling (w/ interceptor)
texan
do-not-reply at jboss.com
Thu Sep 14 10:04:35 EDT 2006
I did get this working, but I had to back out the Seam jars from CVS, as I couldn't figure out how to avoid hitting the Seam "ExceptionInterceptor". I'm sure there's a simple way to define my interceptor to occur just before that one, but at the moment I'm content with Seam 1.0.1.
One question - how did the Seam ExceptionInterceptor class bypass my "catch" clause? In the "save()" method that I included above, the catch clause was never reached if I used the 9/10/2006 CVS jars. Instead, the Seam exception interceptor kicked in, even if I changed my catch to "Throwable". That is, I was single stepping through the code, and once I threw the null pointer with "user.toString()", it went straight to your interceptor!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971565#3971565
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971565
More information about the jboss-user
mailing list