mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 18:21:04 +00:00
corrected exception type t match OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34427 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0681b25521
commit
fa365da6de
1 changed files with 2 additions and 2 deletions
|
@ -99,11 +99,11 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
|||
DESTROY(self);
|
||||
if (nil == data)
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"[NSXMLDocument-%@] nil argument",
|
||||
NSStringFromSelector(_cmd)];
|
||||
}
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"[NSXMLDocument-%@] invalid argument",
|
||||
NSStringFromSelector(_cmd)];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue