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.