NSPredicate exceptions with wrong level?
NSPredicate exceptions with wrong level?
- Subject: NSPredicate exceptions with wrong level?
- From: Gerd Knops <email@hidden>
- Date: Mon, 27 Oct 2008 15:23:18 -0500
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 (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:
This email sent to email@hidden