registry);
}
registry.bind(serviceName,
serviceObject);
} catch (AlreadyBoundException e) {
throw new RMIHostException(e.getMessage());
} catch (RemoteException e) {
RMIHostRuntimeException rmiExec = new RMIHostRuntimeException(e.getMessage());
rmiExec.setStackTrace(e.getStackTrace());
throw rmiExec;
}