Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uncaught exceptions thrown by Cocoa documented anywhere?




On Feb 13, 2008, at 2:27 PM, James Hober wrote:
I imagine I'm not the only one who would like to know when Cocoa throws an uncaught exception. Are they documented anywhere?

Not consistently. Some methods are documented as throwing exceptions, and others aren't. Similarly, some method documentation specifies what the error return value would be, and others don't specify anything about error handling.


I find Apple's documentation particularly bad in this regard, compared to say the documentation for the Java, Python, C, or C++ standard libraries, and other proprietary libraries like MFC or QT. Overall I think Cocoa is impressive, but the documentation leaves a lot to be desired, at least as far as being consistent and well organized.
_______________________________________________


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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Uncaught exceptions thrown by Cocoa documented anywhere? (From: James Hober <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.