We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f50fb8f commit cc08b2eCopy full SHA for cc08b2e
src/main/java/com/google/devtools/build/lib/windows/WindowsFileSystem.java
@@ -99,12 +99,8 @@ public void createSymbolicLink(
99
// Otherwise, create a junction.
100
WindowsFileOperations.createJunction(link.toString(), target.toString());
101
}
102
- } catch (FileAlreadyExistsException e) {
103
- throw new IOException(linkPath + ERR_FILE_EXISTS, e);
104
- } catch (AccessDeniedException e) {
105
- throw new IOException(linkPath + ERR_PERMISSION_DENIED, e);
106
- } catch (NoSuchFileException e) {
107
- throw new FileNotFoundException(linkPath + ERR_NO_SUCH_FILE_OR_DIR);
+ } catch (IOException e) {
+ throw translateNioToIoException(linkPath, e);
108
109
110
0 commit comments