Class FTPConnectionClosedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FTPConnectionClosedException
    extends java.io.IOException
    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:
    FTP, FTPClient, Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FTPConnectionClosedException

        public FTPConnectionClosedException()
        Constructs a FTPConnectionClosedException with no message
      • FTPConnectionClosedException

        public FTPConnectionClosedException​(java.lang.String message)
        Constructs a FTPConnectionClosedException with a specified message.
        Parameters:
        message - The message explaining the reason for the exception.