Files.deleteIfExists(hiddenTarget.toPath());
}
catch (IOException e1) {
// best effort to delete, we already have what to throw
}
throw new LocalStorageEOFException(String.format(
"EOF during storing on path \"%s\" (while writing to hiddenTarget: \"%s\")",
item.getRepositoryItemUid().toString(), hiddenTarget.getAbsolutePath()), e);
}
catch (IOException e) {
try {