This code:
        
        NSPredicate *aPredicate=nil;
        
        @try
        {
                aPredicate=[NSPredicate predicateWithFormat:@invalid"];
        }
        @catch(NSExcption *e)
        {
                NSLog(@"Handled");
        }

causes my exception handler delegate to be called with an exception with the NSHandleTopLevelExceptionMask even though it is clearly being handled. Am I missing something or is that a bug?

The @catch branch is only executed if the exception handler delegate declines to handle the exception.

Thanks

Gerd

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to