|
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
[Prev in Thread] | Current Thread | [Next in Thread] |