• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: App Will Not Terminate After Uncaught Excpetion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >App Will Not Terminate After Uncaught Excpetion (From: Andreas Grosam <email@hidden>)
 >Re: App Will Not Terminate After Uncaught Excpetion (From: Nick Zitzmann <email@hidden>)
 >Re: App Will Not Terminate After Uncaught Excpetion (From: Jean-Daniel Dupas <email@hidden>)
 >Re: App Will Not Terminate After Uncaught Excpetion (From: Nick Zitzmann <email@hidden>)
 >Re: App Will Not Terminate After Uncaught Excpetion (From: Andreas Grosam <email@hidden>)
 >Re: App Will Not Terminate After Uncaught Excpetion (From: "email@hidden" <email@hidden>)
 >Re: App Will Not Terminate After Uncaught Excpetion (From: Dave Keck <email@hidden>)

  • Prev by Date: File name issue with German umlauts
  • Next by Date: Re: File name issue with German umlauts
  • Previous by thread: Re: App Will Not Terminate After Uncaught Excpetion
  • Next by thread: what's the correct key path to observe for a BOOL property?
  • Index(es):
    • Date
    • Thread