• 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
Exceptions never reach my uncaught exception handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exceptions never reach my uncaught exception handler


  • Subject: Exceptions never reach my uncaught exception handler
  • From: Itrat Khan <email@hidden>
  • Date: Wed, 23 Jan 2002 14:53:32 -0500

In a document-based Cocoa application, could something like
NSApplication be intercepting uncaught exceptions? I thought stuff like
this would trigger my uncaught exception handler:

[NSException raise:@"foo" format:@"bar"], or
[[NSArray array] objectAtIndex:10]

These exceptions never reach my handler, but they do log exceptions on
the console, so someone must be catching them. (I don't have any try
blocks in my code.) Uncaught exceptions usually log a message like, an
uncaught exception has occurred," but none of my forced exceptions say
that.

I'd appreciate any insight.

Thanks,
Itrat.

..................................................................
Itrat Khan
Modeless Software, Inc.
http://www.modeless.com


  • Follow-Ups:
    • Re: Exceptions never reach my uncaught exception handler
      • From: Ondra Cada <email@hidden>
    • Re: Exceptions never reach my uncaught exception handler
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Checkbox in NSTableView
  • Next by Date: Re: Exceptions never reach my uncaught exception handler
  • Previous by thread: Re: NSTabView without tabs
  • Next by thread: Re: Exceptions never reach my uncaught exception handler
  • Index(es):
    • Date
    • Thread