Here the FileSystemView interface declaration:
public interface FileSystemView {
FileObject getHomeDirectory() throws FtpException;
FileObject getCurrentDirectory() throws FtpException;
boolean changeDirectory(String dir) throws FtpException;
FileObject getFileObject(String file) throws FtpException;
boolean isRandomAccessible() throws FtpException;
void dispose();
}
Why we use a generic FtpException while, I think, an IOException will
describe more precisely the type of the problem that can happen?
--
Andrea Francia
http://andreafrancia.blogspot.com/2008/07/colinux-linux-dentro-windows.html