mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
371454f0c3
commit
188ac8a232
2 changed files with 5 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue