@Override public FileVisitResult visitFileFailed(T file,IOException exc) throws IOException {
  Objects.requireNonNull(file);
  throw exc;
}

@ Override public FileVisitResult visitFileFailed ( T file , IOException exc ) throws IOException { Objects . requireNonNull ( file ) ; throw exc ; }
invoked for a file that could not be visited . < p > unless overridden , this method re - throws the i / o exception that prevented the file from being visited .
