• 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
Best Practice? - error handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best Practice? - error handling


  • Subject: Best Practice? - error handling
  • From: William Norris <email@hidden>
  • Date: Mon, 9 Aug 2004 11:17:24 -0500

Have a question regarding the best way to do error handling in WO,
specifically getting the error information displayed to the user.  In
my old Java days making command line apps, it was a simple S.o.p() and
that was that.  In my more recent days with PHP, I would often have a
global variable $errorMsg... at the top of most every page, it was
checked for contents and they would be printed out if any.

So about other developers?  Of course try/catch blocks will catch the
error at any arbitrary place in your code and allow you to die
gracefully, but do you have a particularly interesting or efficient
way of getting the error message to the user and allowing them a way
to respond to it.

-will
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Best Practice? - error handling
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: package does not exist
  • Next by Date: Re: using named fetch specifications
  • Previous by thread: WORadioButtonMatrix
  • Next by thread: Re: Best Practice? - error handling
  • Index(es):
    • Date
    • Thread