bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSKeyValueCoding - change exception names


From: Stéphane Corthésy
Subject: NSKeyValueCoding - change exception names
Date: Mon, 10 Feb 2003 00:04:25 +0100

Hi,

I compared how GNUStep and Apple implement NSKeyValueCoding and saw that GNUStep's implementation raises a NSGenericException exception in -[NSObject(KeyValueCoding) handleQueryWithUnboundKey:] and -[NSObject(KeyValueCoding) handleTakeValue:forUnboundKey:], without any userInfo, whereas Apple's raises (it is undocumented) a NSUnknownKeyException exception (no symbolic names though, I should bug Apple for that), with a userInfo containing keys NSTargetObjectUserInfoKey and NSUnknownUserInfoKey


Stéphane





reply via email to

[Prev in Thread] Current Thread [Next in Thread]