//Do not leave this in production code
//logger.finest("connect: strategy=" + name + ", uri=" + server.getLocation() + ", strategy-impl=" + strategy.getClass().getName());
return strategy.connect(cluster, server);
} catch (Throwable e) {
Client.fireEvent(new ConnectionStrategyFailed(strategy, cluster, server, e));
if (e instanceof IOException) {
throw (IOException) e;
} else {
throw new IOException(e);