Re: Objective-C++ Exceptions (was: PICT control problems)
Re: Objective-C++ Exceptions (was: PICT control problems)
- Subject: Re: Objective-C++ Exceptions (was: PICT control problems)
- From: Bill Bumgarner <email@hidden>
- Date: Sun, 25 Jun 2006 11:49:14 -0700
On Jun 24, 2006, at 7:08 PM, David Dunham wrote:
On 24 Jun 2006, at 10:58, Bill Bumgarner wrote:
If your application encounters an NSException, then the state of
the AppKit, Foundation, and CoreData are undefined. NSExceptions
are thrown for non-recoverable runtime errors.
So far I've had fairly good luck catching NSException so I can
report errors when a document can't be read (e.g. the mythic
NSInvalidArchiveOperationException). Seems like a recoverable error
to me...
But I'm not using C++ in this app, and I'm catching fairly close to
the throw.
Sent from xcode-users to Cocoa-dev.
David is correct... it is recoverable in that the app isn't dead.
However, the NSDocument that failed to read is now in an
unrecoverable state....
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden