I really don't think it's a good idea to be adding this kind of stuff.
Besides the fact that we just decided a similar functionality shouldn't
be added to XW and WW, it surely shouldn't be added to the 1.x line.

-Pat

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Hani Suleiman
Sent: Monday, November 03, 2003 12:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Re: Change in exception handling suggestion

ExceptionAware!

Chris Nokleberg wrote:

> Joseph Ottinger wrote:
> 
> 
>>What I'd thought of was adding an extra method to Action and
>>ActionSupport. The Action method's signature might look like this:
>>
>>public String handleException(Throwable t) throws Throwable;
>>
>>The ActionSupport implementation:
>>
>>public String handleException(Throwable t) throws Throwable {
>>throw t;
>>}
> 
> 
> I like it, but I would make it an interface:
>   public interface ExceptionHandler extends Action {
>       String handleException(Throwable t);
>   }
> 
> and then have an interceptor which will catch the exception and do the
right
> thing if the action instanceof ExceptionHandler.
> 
> Chris
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to