Re: Uncaught exceptions thrown by Cocoa documented anywhere?
Re: Uncaught exceptions thrown by Cocoa documented anywhere?
- Subject: Re: Uncaught exceptions thrown by Cocoa documented anywhere?
- From: Chris Ryland <email@hidden>
- Date: Fri, 15 Feb 2008 11:49:26 -0500
On Feb 13, 2008, at 11:05 PM, Bill Bumgarner wrote:
Two additional points -- neither of which are intended to express my
particular philosophy or opinion regarding exception handling:
[...]
(2) That Cocoa is implemented with the philosophy as described by
Jens means that you will generally benefit -- your code will
generally be simpler, easier to maintain, and work better across
versions of the system -- if you follow the same implementation
pattern, regardless of personal beliefs.
If you do decide to go the java-esque route of using exceptions to
encapsulate and perpetuate user level erroneous conditions, make
damned sure you do not toss exceptions through frames contained with
Cocoa.
What if you're using GC (and wrapping non-Cocoa things with
*MakeCollectable())--is it then safe to use exceptions through Cocoa
frames?
Cheers!
--Chris Ryland / Em Software, Inc. / www.emsoftware.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden