try {
if (rmi.getGroup(name) != null) {
return new RemoteGroup(name, this);
} else {
// this will never be thrown, since the if-statement causes it to be thrown first
throw new NoSuchGroupException(name);
}
} catch (RemoteException e) {
System.err.println(e.getMessage()); reinitialize();
return getGroup(name);
}