public class FTPAccessDeniedException extends AccessDeniedException implements FTPResponse
| Constructor and Description |
|---|
FTPAccessDeniedException(String file,
int replyCode,
String replyString)
Creates a new
FTPAccessDeniedException. |
FTPAccessDeniedException(String file,
String other,
int replyCode,
String replyString)
Creates a new
FTPAccessDeniedException. |
| 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 FTPAccessDeniedException(String file, int replyCode, String replyString)
FTPAccessDeniedException.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 FTPAccessDeniedException(String file, String other, int replyCode, String replyString)
FTPAccessDeniedException.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.