You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Zhang, Larry (L.)" <lz...@ford.com> on 2008/01/12 14:53:28 UTC

Exception handling

Since Struts offers an exception Handler
(org.apache.struts.action.ExceptionHandler ), then I got a question: 

in my action, should I try and catch the exception (in the execute's
method) that may be throwed in business layer and forward to an
ActionForward? Or don't do any try and cath in the action's execute
method just throws to the Exception handler?

Your suggestions are appreciated!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org