• 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: Catch exception in NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Catch exception in NSArrayController


  • Subject: Re: Catch exception in NSArrayController
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 17 Sep 2009 08:26:05 -0700

Exceptions are used for programmer error in Cocoa. They are not a general error signaling mechanism.

There are a few unfortunate exceptions, though: Distributed Objects and Objective-C++. If you are not using these technologies, you should not be throwing or catching exceptions as a control-flow technique. Cocoa isn't, generally speaking, exception-safe.

--Kyle Sluder
_______________________________________________

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


References: 
 >Catch exception in NSArrayController (From: Konrad Windszus <email@hidden>)

  • Prev by Date: Re: -NSMutableIndexSet shiftIndexesStartingAtIndex:by: weirdness
  • Next by Date: Re: Catch exception in NSArrayController
  • Previous by thread: Re: Catch exception in NSArrayController
  • Next by thread: Fwd: [SOLVED] NSTreeController setSelectionIndexPath depends on sort order
  • Index(es):
    • Date
    • Thread