Is it appropriate for the standard actions to call response.sendError(... or would it be better for them to throw various types of Exceptions? It seems like it would be more flexible to throw exceptions now that we have declarative exception handling. This would allow the client programmer to determine what to do with the exception, which might include sending an error code to the user.

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?

Thanks,
Dave





_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to