[jboss-user] [JBoss Seam] - Handling all exception with one action?

mnrz do-not-reply at jboss.com
Mon Aug 27 07:43:55 EDT 2007


Hello

how to handle all exception in a seam component. I am thinking of having an stateless bean in which some action methods are defined so I can handle exceptions regarding to its type and also provide some functionality such as sending exception message to administrator by user, etc.

actually, I need something like  tag of pages.xml but using java codes.

one solution I am considering is using @Observer but don't know how to notify that method when an exception is thrown.

any suggestion would be of great help
thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078310#4078310

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078310



More information about the jboss-user mailing list