Class FTPNotLinkException

    • Constructor Detail

      • FTPNotLinkException

        public FTPNotLinkException​(String file,
                                   int replyCode,
                                   String replyString)
        Creates a new FTPNotLinkException.
        Parameters:
        file - A string identifying the file, or null if not known.
        replyCode - The integer value of the reply code of the last FTP reply that triggered this exception.
        replyString - The entire text from the last FTP response that triggered this exception. It will be used as the exception's reason.
      • FTPNotLinkException

        public FTPNotLinkException​(String file,
                                   String other,
                                   int replyCode,
                                   String replyString)
        Creates a new FTPNotLinkException.
        Parameters:
        file - A string identifying the file, or null if not known.
        other - A string identifying the other file, or null if not known.
        replyCode - The integer value of the reply code of the last FTP reply that triggered this exception.
        replyString - The entire text from the last FTP response that triggered this exception. It will be used as the exception's reason.
    • Method Detail

      • getReplyCode

        public int getReplyCode()
        Description copied from interface: FTPResponse
        Returns the reply code of the FTP response.
        Specified by:
        getReplyCode in interface FTPResponse
        Returns:
        The integer value of the reply code of the FTP response.
      • getReplyString

        public String getReplyString()
        Description copied from interface: FTPResponse
        Returns the entire text from the FTP response.
        Specified by:
        getReplyString in interface FTPResponse
        Returns:
        The entire text from the FTP response.