• 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: Uncaught exceptions not terminating my app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uncaught exceptions not terminating my app


  • Subject: Re: Uncaught exceptions not terminating my app
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 28 Jan 2010 10:55:10 -0800


On Jan 28, 2010, at 9:53 AM, Paul Sanders wrote:

No more dangerous then doing a random longjmp back to the event loop, which is what happens if you let the exception unwind. As I say, the frameworks do not appear to use exception handling internally, other than to get back to the event loop in this way.

There are various places in the frameworks where exceptions get caught and (mostly) ignored. Some of these are where Carbon code (like the menu or open/save file panel implementation) calls into Cocoa, since throwing an exception out through Carbon is bad news.


(The Carbon examples may not be true anymore in 10.6, but they are in 10.5 and earlier.)

—Jens

_______________________________________________

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


  • Follow-Ups:
    • Re: Uncaught exceptions not terminating my app
      • From: "email@hidden" <email@hidden>
    • Re: Uncaught exceptions not terminating my app
      • From: "Paul Sanders" <email@hidden>
References: 
 >Uncaught exceptions not terminating my app (From: "Paul Sanders" <email@hidden>)
 >Re: Uncaught exceptions not terminating my app (From: Ken Thomases <email@hidden>)
 >Re: Uncaught exceptions not terminating my app (From: "Paul Sanders" <email@hidden>)
 >Re: Uncaught exceptions not terminating my app (From: Jens Alfke <email@hidden>)
 >Re: Uncaught exceptions not terminating my app (From: "Paul Sanders" <email@hidden>)
 >Re: Uncaught exceptions not terminating my app (From: Jens Alfke <email@hidden>)
 >Re: Uncaught exceptions not terminating my app (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Fuzzy Focus Ring
  • Next by Date: Re: Hot to define a connection from source code?
  • Previous by thread: Re: Uncaught exceptions not terminating my app
  • Next by thread: Re: Uncaught exceptions not terminating my app
  • Index(es):
    • Date
    • Thread