• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSForwardException
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: 10.4 and new File now longer works for uploading a file
  • Next by Date: Re: 10.4 and new File now longer works for uploading a file
  • Previous by thread: Re: Dynamic Image resizing for thumbnail view with correct Aspect...
  • Next by thread: fckEditor - getting its content value
  • Index(es):
    • Date
    • Thread