On Mon, 3 Feb 2003, David Graham wrote:
> Date: Mon, 03 Feb 2003 22:33:27 -0700 > From: David Graham <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Standard Actions Sending Errors > > > > >For 1.1, it makes sense to me that we declare a couple of specific > >exceptions that can then be caught and managed using the exception mapping > >technology. > > Can this be for 1.2? Is there an urgent reason for it to be in 1.1? My > vision of 1.2 is to release it fairly soon after 1.1 with a few key > enhancements so this feature would make it out soon anyways. > Sounds rational to me, because there is a reasonable workaround (subclass DispatchAction and/or LookupDispatchAction and deal with problems however you like). The only downside is we're likely to break the APIs of some of the protected methods in these classes, which is nasty -- but not as nasty as breaking APIs for public methods. Craig > > > > > I came across this issue while looking at the different ways > > > LookupDispatchAction and DispatchAction handle errors. > > > > > > Would it be backwards incompatible to change what the actions do when > >they > > > encounter an error? > > > > > > >I suspect that the current behavior w.r.t. errors is so unusable that > >anyone concerned about it has already subclassed the thing anyway. > > > >+1 for defining appropriate exceptions that can be thrown for this use > >case. > > > > > Thanks, > > > Dave > > > >Craig > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]