Skip to content

Commit

Permalink
ignore InvalidPathException
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolivaev committed Oct 29, 2022
1 parent 23743cb commit e7289c8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.awt.event.KeyEvent;
import java.io.File;
import java.io.IOException;
import java.nio.file.InvalidPathException;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Consumer;
Expand Down Expand Up @@ -102,7 +103,7 @@ public void setCurrentDirectory(File dir) {
setDirectoryBehavingLikeShellFolder(dir);
return;
}
catch (IOException e) {
catch (IOException | InvalidPathException e) {
}
catch(IllegalAccessError e) {
LogUtils.severe(e);
Expand Down

0 comments on commit e7289c8

Please sign in to comment.