Exception support (was: Feeding NSUnarchiver bad data can cause crash)
Exception support (was: Feeding NSUnarchiver bad data can cause crash)
- Subject: Exception support (was: Feeding NSUnarchiver bad data can cause crash)
- From: Ondra Cada <email@hidden>
- Date: Thu, 3 Jun 2004 18:46:40 +0200
Shawn,
On 3.6.2004, at 18:04, Shawn Erickson wrote:
>
Or using new runtime/compiler support in 10.3+...
surely, was mentioned in my original message:
>
... Either go @try, or ...
'Course, that's not why I write: do you understand the new directives?
Namely, do you happen to know
- how (in)compatible they happen to be with the NS_... macros?
- are they less or more efficient?
- what caveats there are mixin' them with NS_... macros? (seems with
@throw you can raise anything, but NS_HANDLER would suppose there's an
NSException subclass in localException, would it not?)
- which way is better for which situations?
Perhaps I've overlooked something, but save for a short info along
lines of "are backward compatible with NS... macros, incompatible with
C++ exceptions" in the release notes I've found nothing on this subject
yet...
TIA,
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.