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:
mguesdon 2014-04-26 18:39:34 +00:00
parent 97a345597d
commit 3c4ff69d69
2 changed files with 5 additions and 1 deletions

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];
}