cachePath), e);
if (firstException == null) {
firstException = e;
}
}
} while (retry.waitForNextAttempt());
if (firstException == null) {
throw new IOException(MessageFormat.format(
"Failed to acquire a lock for remote cache file: {0} ({1})",
sourcePath,
cachePath));