All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.net.ftp.FTPConnectionClosedException Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
package panda.net.ftp;

import java.io.IOException;

/***
 * FTPConnectionClosedException is used to indicate the premature or unexpected closing of an FTP
 * connection resulting from a {@link panda.net.ftp.FTPReply#SERVICE_NOT_AVAILABLE
 * FTPReply.SERVICE_NOT_AVAILABLE } response (FTP reply code 421) to a failed FTP command. This
 * exception is derived from IOException and therefore may be caught either as an IOException or
 * specifically as an FTPConnectionClosedException.
 * 
 * @see FTP
 * @see FTPClient
 ***/

public class FTPConnectionClosedException extends IOException {

	private static final long serialVersionUID = 3500547241659379952L;

	/*** Constructs a FTPConnectionClosedException with no message ***/
	public FTPConnectionClosedException() {
		super();
	}

	/***
	 * Constructs a FTPConnectionClosedException with a specified message.
	 * 
	 * @param message The message explaining the reason for the exception.
	 ***/
	public FTPConnectionClosedException(String message) {
		super(message);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy