StringBuffer msg = new StringBuffer("Unable to connect to server using configuration ").append(connectorConfig);
if (backupConfig != null)
{
msg.append(" and backup configuration ").append(backupConfig);
}
throw new HornetQNotConnectedException(msg.toString());
}
}