Add missing exception
Without this, no exception would be thrown when a file cannot be deleted, but an exception would be thrown when a directory cannot be deleted.
@@ -233,6 +233,7 @@ public class PathRemover {
}
throw new CompositeIOException("Unable to remove directory " + path + " with directory contents: " + entries, e, e2);
}
+ throw new CompositeIOException("Unable to remove file " + path, e, e2);
}
}
}
