mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
* 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:
parent
a7faf90ab5
commit
d670561aaf
2 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue