• 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
How to get the handler of an NSException?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Trying to achieve aperture PopUp buttons
  • Next by Date: Re: Trying to achieve aperture PopUp buttons
  • Previous by thread: Re: NSXMLDocument and threads
  • Next by thread: NSBezierPath EXC_BAD_ACCESS issues.
  • Index(es):
    • Date
    • Thread