Skip to content
Snippets Groups Projects
Commit 4c39294f authored by Florian Angerer's avatar Florian Angerer
Browse files

Fix: Did not properly catch exception during directory iteration.

parent 78298aff
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.file.CopyOption;
import java.nio.file.DirectoryStream;
import java.nio.file.FileAlreadyExistsException;
......@@ -677,7 +678,7 @@ public class FileFunctions {
files.add(fullNames ? FileSystems.getDefault().getPath(vecPathString, DOTDOT).toString() : DOTDOT);
}
}
} catch (IOException ex) {
} catch (IOException | UncheckedIOException ex) {
// ignored
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment