Package org.apache.commons.net.ftp
Class FTPConnectionClosedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.net.ftp.FTPConnectionClosedException
- All Implemented Interfaces:
- Serializable
FTPConnectionClosedException is used to indicate the premature or unexpected closing of an FTP connection resulting from a
 
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 Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a FTPConnectionClosedException with no messageFTPConnectionClosedException(String message) Constructs a FTPConnectionClosedException with a specified message.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
FTPConnectionClosedExceptionpublic FTPConnectionClosedException()Constructs a FTPConnectionClosedException with no message
- 
FTPConnectionClosedExceptionConstructs a FTPConnectionClosedException with a specified message.- Parameters:
- message- The message explaining the reason for the exception.
 
 
-