org.nanocontainer.testmodel..svn.text-base.FileSystemUsing.svn-base Maven / Gradle / Ivy
package org.nanocontainer.testmodel;
import java.io.File;
/**
* Used for testing permissions.
*
* @author Paul Hammant
* @version $Revision$
*/
public class FileSystemUsing {
public FileSystemUsing() {
File afile = File.listRoots()[0];
System.out.println("--> " + afile.getAbsolutePath());
new File(afile,"foo-bar-directory").mkdirs();
throw new RuntimeException("Whoa, should have barfed with access error");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy