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:
Richard Frith-MacDonald 1999-01-09 06:49:06 +00:00
parent 144e40de69
commit 01c8722c6e
2 changed files with 6 additions and 1 deletions

View file

@ -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
{