Package com.adaptris.ftp
Class FtpException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.adaptris.filetransfer.FileTransferException
-
- com.adaptris.ftp.FtpException
-
- All Implemented Interfaces:
java.io.Serializable
public class FtpException extends FileTransferException
FTP specific exceptions- See Also:
- Serialized Form
-
-
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
-
-
-
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 retrievereplyCode
- string form of reply code
-
FtpException
public FtpException(java.lang.Throwable e)
-
-