AW: declarative exception handling

"Bernhard Woehrlin" <[email protected]>
Newsgroups gmane.comp.java.strutscx.user
Message-ID <[email protected]>
Hi David,

thanks for this hint. Cool. I'll check out declarative exception handling...

Regards,

Berny


> -----Ursprungliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]]Im Auftrag von David
> Stabel
> Gesendet: Mittwoch, 26. Marz 2003 09:52
> An: [email protected]
> Betreff: [Strutscx-user] declarative exception handling
>
>
> Hello,
>
> I have a question concerning exception handling in StrutsCX-0.9.2.
>
> I noticed that the execute method declared in the StrutsCXBaseAction
> class is throwing an IOException and a ServletException.
> Why is it not throwing an Exception (root of all exceptions) as
> specified by the Struts Action class (see latest javadoc).
>
> By doing so declarative exception handling is possible (see also
> Struts). The exception handling will be defined in struts-config.xml (at
> a global level or an action level).Whenever an exception is catched in
> the Action class (e.g. a subclass of the StrutsCXBaseAction class), the
>    requestprocessor will look in struts-config.xml what to do (e.g.
> forward to an error page or call a 'dealing with the exception' action).
>
> Kind regards, David.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Strutscx-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/strutscx-user
>



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.