Class FTPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.archive.net.FTPException
- All Implemented Interfaces:
Serializable
Indicates that a FTP operation failed due to a protocol violation.
For instance, if authentication fails.
- Author:
- pjack
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FTPException
public FTPException(int code) Constructs a newFTPException.- Parameters:
code- the error code from the FTP server
-
-
Method Details
-
getReplyCode
public int getReplyCode()Returns the error code from the FTP server.- Returns:
- the error code from the FTP server
-