ERROR - java.nio.DirectoryNotEmptyException - Possible Causes of DirectoryNotEmptyException

Exception Thrown By:Cause
ClassMethod
FileSystemProvider public boolean
deleteIfExists(Path path)
if the file is a directory and could not
otherwise be deleted because the directory is not empty.
Files public static boolean
deleteIfExists(Path path)
if the file is a directory and could not
otherwise be deleted because the directory is not empty.