Class FtpException

    • Constructor Summary

      Constructors 
      Constructor Description
      FtpException​(java.lang.String msg)
      Constructor.
      FtpException​(java.lang.String msg, java.lang.String replyCode)
      Constructor.
      FtpException​(java.lang.Throwable e)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getReplyCode()
      Get the reply code if it exists
      • 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

      • FtpException

        public FtpException​(java.lang.String msg)
        Constructor. Delegates to super.
        Parameters:
        msg - Message that the user will be able to retrieve
      • FtpException

        public FtpException​(java.lang.String msg,
                            java.lang.String replyCode)
        Constructor. Permits setting of reply code
        Parameters:
        msg - message that the user will be able to retrieve
        replyCode - string form of reply code
      • FtpException

        public FtpException​(java.lang.Throwable e)
    • Method Detail

      • getReplyCode

        public int getReplyCode()
        Get the reply code if it exists
        Returns:
        reply if it exists, -1 otherwise