}
} catch (RemoteServerErrorException iae) {  connected = false; throw new DSOutOfServiceException("Failed to log in.", iae); }
	void login(String userName, String password)		throws DSOutOfServiceException	{		try {			RemoteCaller proxy = proxiesFactory.getRemoteCaller();			proxy.login(userName, password);            serverVersionCheck();			connected = true;		} catch (RemoteConnectionException rce) {            connected = false;			throw new DSOutOfServiceException("Can't connect to OMEDS.", rce);		} catch (RemoteAuthenticationException rae) {            connected = false;			throw new DSOutOfServiceException("Failed to log in.", rae);		}	}