Cocoa / OC exception handling

2008-10-17 Thread Dale Miller
I'm not clear about the semantics of the Objective-C exception- handling constructs, even after going through the Apple Objective-C documentation and the developer-doc conceptual Exception Handling. The definitions are very terse or missing and the examples are incomplete. The problem with

Re: Cocoa / OC exception handling

2008-10-17 Thread Kyle Sluder
On Fri, Oct 17, 2008 at 7:12 PM, Dale Miller [EMAIL PROTECTED] wrote: In particular, the examples show a series of @catch blocks arranged in most-specific to least-specific order. Since the different blocks in the example have different parameter specifications for the different blocks this

Re: Cocoa / OC exception handling

2008-10-17 Thread Kyle Sluder
On Fri, Oct 17, 2008 at 10:00 PM, Dale Miller [EMAIL PROTECTED] wrote: Does the word 'type' here mean 'the class of the exception object'? Yes. It means type as in the type system. If the class of the exception being thrown is equal to or is a subclass of the type of the pointer provided in