public class FTPNotLinkException extends NotLinkException implements FTPResponse
| Constructor and Description |
|---|
FTPNotLinkException(String file,
int replyCode,
String replyString)
Creates a new
FTPNotLinkException. |
FTPNotLinkException(String file,
String other,
int replyCode,
String replyString)
Creates a new
FTPNotLinkException. |
| Modifier and Type | Method and Description |
|---|---|
int |
getReplyCode()
Returns the reply code of the FTP response.
|
String |
getReplyString()
Returns the entire text from the FTP response.
|
getFile, getMessage, getOtherFile, getReasonaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FTPNotLinkException(String file, int replyCode, String replyString)
FTPNotLinkException.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.public FTPNotLinkException(String file, String other, int replyCode, String replyString)
FTPNotLinkException.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.public int getReplyCode()
FTPResponsegetReplyCode in interface FTPResponsepublic String getReplyString()
FTPResponsegetReplyString in interface FTPResponseCopyright © 2016–2024. All rights reserved.