001 /* 002 * ftp4j - A pure Java FTP client library 003 * 004 * Copyright (C) 2008-2009 Carlo Pelliccia (www.sauronsoftware.it) 005 * 006 * This program is free software: you can redistribute it and/or modify 007 * it under the terms of the GNU Lesser General Public License version 008 * 2.1, as published by the Free Software Foundation. 009 * 010 * This program is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 013 * GNU General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public 016 * License version 2.1 along with this program. 017 * If not, see <http://www.gnu.org/licenses/>. 018 */ 019 package it.sauronsoftware.ftp4j; 020 021 /** 022 * Exception thrown if any I/O error occurs during a data transfer attempt. 023 * 024 * @author Carlo Pelliccia 025 */ 026 public class FTPDataTransferException extends Exception { 027 028 private static final long serialVersionUID = 1L; 029 030 public FTPDataTransferException() { 031 super(); 032 } 033 034 public FTPDataTransferException(String message, Throwable cause) { 035 super(message, cause); 036 } 037 038 public FTPDataTransferException(String message) { 039 super(message); 040 } 041 042 public FTPDataTransferException(Throwable cause) { 043 super(cause); 044 } 045 046 }