} catch (WaveServerException e) {
LOG.warning("Update failure", e);
// TODO(soren): make everyone throw FederationException instead
// of WaveServerException so we don't have to translate between them here
futureResult.setException(
new FederationException(FederationErrors.badRequest(e.getMessage())));
} finally {
releaseWriteLock();
}
}