mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-03 10:00:51 +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
97a345597d
commit
3c4ff69d69
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue