question: public static void ensureDirectoryExists ( String path ) throws IOException { File tmpDirectory = new File ( path ) ; if ( ! mkdirsWithRetry ( tmpDirectory ) ) { throw new IOException ( "Failed to create directory " + tmpDirectory . getAbsolutePath ( ) ) ; } }
target:  Ensures that the directory specified by the path exists