• 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: exception/error handling question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exception/error handling question


  • Subject: Re: exception/error handling question
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 8 Jul 2004 22:41:37 -0600

On Jul 8, 2004, at 9:56 PM, gnat wrote:

While the use of NSException is fairly obvious, as I mentioned an exception is not being thrown in this case.

NSDictionary's -writeToFile:atomically: method does not throw exceptions; it says in the documentation that it will return NO if the dictionary can't be converted into property list format. Of course, it will also return NO if the write operation failed for some reason. AFAIK there is no way of knowing why the method failed if it returned NO.

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


References: 
 >exception/error handling question (From: gnat <email@hidden>)
 >Re: exception/error handling question (From: gnat <email@hidden>)

  • Prev by Date: Re: exception/error handling question
  • Next by Date: Multiple development
  • Previous by thread: Re: exception/error handling question
  • Next by thread: Multiple development
  • Index(es):
    • Date
    • Thread