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