* Source/NSKeyValueCoding.m: fix exception userInfo

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19544 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2004-06-18 18:09:19 +00:00
parent a7faf90ab5
commit d670561aaf
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2004-06-18 Manuel Guesdon <mguesdon@orange-concept.com>
* Source/NSKeyValueCoding.m: fix exception userInfo
2004-06-16 Willem Rein Oudshoorn <Wim.Oudshoorn@agilisys.com>
* Tools/gdomap.c (map_add): Fix off by one bug that causes

View file

@ -83,7 +83,7 @@ NSString* const NSUnknownKeyException = @"NSUnknownKeyException";
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
self,
@"NSTargetObjectUserInfoKey",
aKey,
(aKey ? aKey : @"(nil)"),
@"NSUnknownUserInfoKey",
nil];
NSException *exp = [NSException exceptionWithName: NSUnknownKeyException
@ -105,9 +105,9 @@ NSString* const NSUnknownKeyException = @"NSUnknownKeyException";
- (void) handleTakeValue: (id)anObject forUnboundKey: (NSString*)aKey
{
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
anObject,
(anObject ? anObject : @"(nil)"),
@"NSTargetObjectUserInfoKey",
aKey,
(aKey ? aKey : @"(nil)"),
@"NSUnknownUserInfoKey",
nil];
NSException *exp = [NSException exceptionWithName: NSUnknownKeyException