NSForwardException
NSForwardException
- Subject: NSForwardException
- From: Baiss Eric Magnusson <email@hidden>
- Date: Tue, 26 Jul 2005 16:56:50 -0700
There were some comments on some quick code I had about the use of
the NSForwardException.
It was just a habitual pattern that thankfully, Gary Teter, got me into.
If in every <try-catch> loop you use NSForwardException then in
<Application> you can write
public WOResponse handleException( Exception anException,
WOContext aContext )
thus handling all exceptions in one place.
There you do all the right things, like log the exception to the
server and put up a friendly form profusely apologizing to the user
for the crappy code and a button to send you an email message for
immediate attention, etc. etc.
A quick apology will do wonders to the users patience.
Cheers,
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden