mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([NSObject -doesNotRecognizeSelector:]): Raise
NSInvalidArgumentException, not NSGenericException. (Reported by Jeremy Bettis <jeremy@tddi.inetnebr.com>.) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1776 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
202df44f7c
commit
54b4126b08
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ NSDecrementExtraRefCountWasZero (id anObject)
|
|||
|
||||
- (void) doesNotRecognizeSelector: (SEL)aSelector
|
||||
{
|
||||
[NSException raise: NSGenericException
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"%s does not recognize %s",
|
||||
object_get_class_name(self), sel_get_name(aSelector)];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue