mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Add lots of detail to exception on port registration failure.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14640 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
326694568f
commit
96fcbc6c77
3 changed files with 25 additions and 4 deletions
|
@ -915,7 +915,18 @@ typedef enum {
|
|||
if (result == 0)
|
||||
{
|
||||
[NSException raise: NSGenericException
|
||||
format: @"unable to register %@", name];
|
||||
format: @"Unable to register name '%@' for the port -\n%@\n"
|
||||
@"Typically, this might mean that a process is already running with the name\n"
|
||||
@"'%@' ...\n"
|
||||
@"Try the command -\n"
|
||||
@" gdomap -L '%@'\n"
|
||||
@"to find its network details.\n"
|
||||
@"Alternatively, it may have been shut down without unregistering, and\n"
|
||||
@"another process may be running using the same network port. If this is\n"
|
||||
@"the case, you can use -\n"
|
||||
@"gdomap -U '%@'\n"
|
||||
@"to remove the registration so that you can attempt this operation again.",
|
||||
name, port, name, name, name];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue