mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
ec3ca82d59
commit
858a5d5a90
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>
|
2004-06-16 Willem Rein Oudshoorn <Wim.Oudshoorn@agilisys.com>
|
||||||
|
|
||||||
* Tools/gdomap.c (map_add): Fix off by one bug that causes
|
* Tools/gdomap.c (map_add): Fix off by one bug that causes
|
||||||
|
|
|
@ -83,7 +83,7 @@ NSString* const NSUnknownKeyException = @"NSUnknownKeyException";
|
||||||
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
|
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
self,
|
self,
|
||||||
@"NSTargetObjectUserInfoKey",
|
@"NSTargetObjectUserInfoKey",
|
||||||
aKey,
|
(aKey ? aKey : @"(nil)"),
|
||||||
@"NSUnknownUserInfoKey",
|
@"NSUnknownUserInfoKey",
|
||||||
nil];
|
nil];
|
||||||
NSException *exp = [NSException exceptionWithName: NSUnknownKeyException
|
NSException *exp = [NSException exceptionWithName: NSUnknownKeyException
|
||||||
|
@ -105,9 +105,9 @@ NSString* const NSUnknownKeyException = @"NSUnknownKeyException";
|
||||||
- (void) handleTakeValue: (id)anObject forUnboundKey: (NSString*)aKey
|
- (void) handleTakeValue: (id)anObject forUnboundKey: (NSString*)aKey
|
||||||
{
|
{
|
||||||
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
|
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
anObject,
|
(anObject ? anObject : @"(nil)"),
|
||||||
@"NSTargetObjectUserInfoKey",
|
@"NSTargetObjectUserInfoKey",
|
||||||
aKey,
|
(aKey ? aKey : @"(nil)"),
|
||||||
@"NSUnknownUserInfoKey",
|
@"NSUnknownUserInfoKey",
|
||||||
nil];
|
nil];
|
||||||
NSException *exp = [NSException exceptionWithName: NSUnknownKeyException
|
NSException *exp = [NSException exceptionWithName: NSUnknownKeyException
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue