{
createReplicationGroupAdmin().updateAddress(nodeName, newHostName, newPort);
}
catch (OperationFailureException ofe)
{
throw new StoreException("Failed to update address for '" + nodeName +
"' with new host " + newHostName + " and new port " + newPort + ". " + ofe.getMessage(), ofe);
}
catch (DatabaseException e)
{
throw new StoreException("Failed to update address for '" + nodeName +
"' with new host " + newHostName + " and new port " + newPort + ". " + e.getMessage(), e);
}
}