Best Practice? - error handling
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.