Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exception support (was: Feeding NSUnarchiver bad data can cause crash)



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.


References: 
 >Re: Feeding NSUnarchiver bad data can cause crash (From: "Douglas A. Welton" <email@hidden>)
 >Re: Feeding NSUnarchiver bad data can cause crash (From: Shawn Erickson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.