diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2015-11-20 14:40:41 +0100 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2015-11-24 15:54:20 -0500 |
commit | d2faec27a7af7c9ea7db6b4ac31f75533ca45b80 (patch) | |
tree | de6457295b3001431ca8c142be617092cf2bf9e6 /org.eclipse.jgit/resources/org | |
parent | 15e60b646e1af9c6b7bf01d3822dc50162dbf3dc (diff) | |
download | jgit-d2faec27a7af7c9ea7db6b4ac31f75533ca45b80.tar.gz jgit-d2faec27a7af7c9ea7db6b4ac31f75533ca45b80.zip |
Raise error if FileNotFoundException is caught for an existing file
File, FileInputStream and friends may throw FileNotFoundException even
if the file is existing e.g. when file permissions don't allow to access
the file content. In most cases this is a severe error we should not
suppress hence rethrow the FileNotFoundException in this case.
This may also fix bug 451508.
Bug: 451508
Change-Id: If4a94217fb5b7cfd4c04d881902f3e86193c7008
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/resources/org')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties index cdb2be151d..6e3b3047fb 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -451,6 +451,7 @@ packfileIsTruncated=Packfile {0} is truncated. packfileIsTruncatedNoParam=Packfile is truncated. packHandleIsStale=Pack file {0} handle is stale, removing it from pack list packHasUnresolvedDeltas=pack has unresolved deltas +packInaccessible=Pack file {0} now inaccessible; removing it from pack list packingCancelledDuringObjectsWriting=Packing cancelled during objects writing packObjectCountMismatch=Pack object count mismatch: pack {0} index {1}: {2} packRefs=Pack refs |