{
reg.register_poa(name, server, host, port );
}
catch( DuplicatePOAName e )
{
throw new INTERNAL( "A server with the same combination of ImplName/POA-Name (" +
name +
") is already registered and listed as active at the imr: " + e.toString() );
}
catch( IllegalPOAName e )
{
throw new INTERNAL( "The ImR replied that the POA name >>" +
e.name + "<< is illegal: " + e.toString() );
}
catch( UnknownServerName e )
{
throw new INTERNAL( "The ImR replied that the server name >>" +
e.name + "<< is unknown: " + e.toString());
}
}