mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
|
@ -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…
Add table
Add a link
Reference in a new issue