Exceptions never reach my uncaught exception handler
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