How to get the handler of an NSException?
How to get the handler of an NSException?
- Subject: How to get the handler of an NSException?
- From: Oleg Krupnov <email@hidden>
- Date: Wed, 3 Mar 2010 09:42:39 +0200
Is there a way to find out if a particular exception being thrown will
be caught by a @catch handler further down the code, and if this
handler is top-level or not? By top-level I mean the handler on the
NSApplication level.
I'm trying to build a reliable handler of uncaught exceptions that
shuts my app down gracefully and sends me the bug report, but
unfortunately there are situations, especially on Leopard, when ALL
exceptions trigger my handler, even though they are supposed to be
handled by their corresponding @catch blocks down the code.
Thanks.
_______________________________________________
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