Raising exceptions from dataRepresentationOfType?
Raising exceptions from dataRepresentationOfType?
- Subject: Raising exceptions from dataRepresentationOfType?
- From: Neil Steiner <email@hidden>
- Date: Tue, 04 Mar 2003 21:53:54 -0500
My dataRepresentationOfType relies on a bunch of C++ code, and if a C++
exception is thrown during processing, I clean things up and raise an
NSException. I assumed that NSDocument would abort the save operation,
and as far as I can tell it does do that, but it also seems just a wee
bit testy, and sometimes dumps the following into the output log:
Exception raised during posting of notification. Ignored.
(Did I mention that I'm new to Objective-C and Cocoa?) Anyhow, is there
a more gentle or acceptable way to abort the save operation when necessary?
Neil
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.