Re: exception/error handling question
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.