IOException and FileVisitor
Rémi Forax
forax at univ-mlv.fr
Mon Feb 8 06:18:35 PST 2010
Hi Alan, hi all,
I don't understand why method visit* and postVisit of a FileVsitor
doesn't propagate IOException ?
I've written a program one week ago that use a SimpleFileVisitor and I
get only now an IOError
(visitFileFailed throws that error)
The current design is not very robust.
I prefer a crystal clear contract that explicitly say, well be prepared
to catch some IO exception
while walking a file tree.
Rémi
More information about the nio-dev
mailing list