Fix exception msg in setValue:forUndefinedKey:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37814 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2014-04-26 18:39:34 +00:00
parent 371454f0c3
commit 188ac8a232
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-04-26 Manuel Guesdon <mguesdon@orange-concept.com>
* Source/NSKeyValueCoding.m
Fix exception msg in setValue:forUndefinedKey:
2014-04-18 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSHost.h:

View file

@ -424,7 +424,7 @@ static id ValueForKey(NSObject *self, const char *key, unsigned size)
(aKey ? (id)aKey : (id)@"(nil)"), @"NSUnknownUserInfoKey",
nil];
exp = [NSException exceptionWithName: NSUndefinedKeyException
reason: @"Unable to set nil value for key"
reason: @"Unable to set value for undefined key"
userInfo: dict];
[exp raise];
}