001    package org.picocontainer.script.testmodel;
002    
003    import java.io.File;
004    
005    /**
006     * Used for testing permissions.
007     *
008     * @author Paul Hammant
009     */
010    public class FileSystemUsing {
011    
012        public FileSystemUsing() {
013            File afile = File.listRoots()[0];
014            System.out.println("--> " + afile.getAbsolutePath());
015            new File(afile,"foo-bar-directory").mkdirs();
016            throw new RuntimeException("Whoa, should have barfed with access error");
017        }
018    
019    }