Re: Uncaught exceptions not terminating my app
Re: Uncaught exceptions not terminating my app
- Subject: Re: Uncaught exceptions not terminating my app
- From: "Paul Sanders" <email@hidden>
- Date: Thu, 28 Jan 2010 19:44:36 -0000
OK, thanks. I'll do a bit more testing on Snow Leopard. But I
have code out in the field with my 'brutal' exception handling
in place and nothing like this has ever (yet!) been reported.
Paul Sanders.
----- Original Message -----
From: <email@hidden>
To: <email@hidden>
Sent: Thursday, January 28, 2010 7:38 PM
Subject: Re: Uncaught exceptions not terminating my app
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
_______________________________________________
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