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

Re: Best Practice? - error handling


  • Subject: Re: Best Practice? - error handling
  • From: Kieran Kelleher <email@hidden>
  • Date: Tue, 10 Aug 2004 14:29:35 -0400

Check out this approach .... I like it, works well.

http://www.stepwise.com/Articles/Technical/2001-06-13.01.html

-Kieran
________________________________________________________________
Dev Config = OS X 10.3.4 / Java 1.4.2 / WO 5.2.3 / XCode v1.2 / MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.4 Server / Java 1.4.2 / WO 5.2.3 / MySQL 4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/
Meet other WO Developers at http://webobjects.meetup.com




On Aug 9, 2004, at 12:17 PM, William Norris wrote:

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.
_______________________________________________
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: Marek Wawrzyczny <email@hidden>
    • Re: Best Practice? - error handling
      • From: Sam Barnum <email@hidden>
References: 
 >Best Practice? - error handling (From: William Norris <email@hidden>)

  • Prev by Date: Re: 10.3.5, Xcode 1.5 and WO 5.2.3
  • Next by Date: Re: 10.3.5, Xcode 1.5 and WO 5.2.3
  • Previous by thread: Best Practice? - error handling
  • Next by thread: Re: Best Practice? - error handling
  • Index(es):
    • Date
    • Thread