Re: App Will Not Terminate After Uncaught Excpetion
Re: App Will Not Terminate After Uncaught Excpetion
- Subject: Re: App Will Not Terminate After Uncaught Excpetion
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 17 Dec 2010 08:46:22 +0100
Le 17 déc. 2010 à 00:06, Dave Keck a écrit :
>> Presumably it is more functionally similar to:
>
> On my system, the exception is being caught from within
> -[NSApplication run]. So it would look like the implementation of -run
> shown here:
>
> http://cocoawithlove.com/2009/01/demystifying-nsapplication-by.html
>
> with a @try around the calls to -nextEventMatchingMask: and
> -sendEvent:, and the @catch block calling -reportException:.
>
Not necessarily. Some subsystems use @try @catch, like the menu handler and the notification center.
It does not mean that all appkit calls are protected though.
-- Jean-Daniel
_______________________________________________
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