1 25 package org.archive.net; 26 27 28 import java.io.IOException ; 29 30 import org.archive.crawler.fetcher.FetchFTP; 31 import org.archive.util.ArchiveUtils; 32 33 34 40 public class FTPException extends IOException { 41 42 43 44 private static final long serialVersionUID = 45 ArchiveUtils.classnameBasedUID(FetchFTP.class,1); 46 47 48 51 private int code; 52 53 54 59 public FTPException(int code) { 60 super("FTP error code: " + code); 61 this.code = code; 62 } 63 64 65 70 public int getReplyCode() { 71 return code; 72 } 73 } 74 | Popular Tags |