InetAddress address = null;
Connection synchConnection = null;
try {
address = InetAddress.getByName(host);
ConnectionSpec spec = DefaultConnectionSpec.newSpec(address, port, database, credentials);
synchConnection = createSynchConnection(spec, isShared, redisVersion);
Assert.notNull(synchConnection, "connection delegate", ClientRuntimeException.class);
}
catch (UnknownHostException e) {
String msg = "Couldn't obtain InetAddress for "+host;