Re: Uncaught exceptions not terminating my app
Re: Uncaught exceptions not terminating my app
- Subject: Re: Uncaught exceptions not terminating my app
- From: "email@hidden" <email@hidden>
- Date: Thu, 28 Jan 2010 19:38:39 +0000
On 28 Jan 2010, at 18:55, Jens Alfke wrote:
>>
>
> 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.)
>
On 10.6 exceptions generated in Carbon menu event dispatch are logged but ignored.
eg:HIToolbox: ignoring exception 'window context is nil' that raised inside Carbon event dispatch
Regards
Jonathan Mitchell
Developer
http://www.mugginsoft.com
_______________________________________________
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