mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Raise exception when needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3552 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
144e40de69
commit
01c8722c6e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Jan 8 6:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* src/NSPortNameServer.m: Raise exception on failure to register name.
|
||||
|
||||
Fri Jan 8 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* src/NSObject.m: Cache a few more classes.
|
||||
|
|
|
@ -520,7 +520,8 @@ static NSPortNameServer *defaultServer = nil;
|
|||
|
||||
if (result == 0)
|
||||
{
|
||||
NSLog(@"NSPortNameServer unable to register '%@'\n", name);
|
||||
[NSException raise: NSGenericException
|
||||
format: @"unable to register %@", name];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue