onVisitFileFailed
Overrides the corresponding function of the built FileVisitor with the provided function.
The provided callback is invoked for an entry that could not be visited for some reason. For example, when the entry's attributes could not be read, or the entry is a directory that could not be opened. Depending on the return value of the function:
FileVisitResult.CONTINUE or FileVisitResult.SKIP_SUBTREE - Traversal continues to a sibling entry.
FileVisitResult.SKIP_SIBLINGS - Sibling entries are not visited.
FileVisitResult.TERMINATE - The traversal terminates immediately, and no further entries are visited.
By default, FileVisitor.visitFileFailed of the built file visitor re-throws the I/O exception that prevented the entry from being visited.