|
FTP Client | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.amoebacode.ftp.IllegalFTPResponseException
IllegalFTPResponseException is thrown whenever an FTP server returns an unexpected response to the previous command.
| Field Summary | |
private FTPServerResponse |
response
The FTP server response that led to this exception |
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
protected |
IllegalFTPResponseException(FTPServerResponse response)
Default protected constructor. |
| Method Summary | |
int |
getResponseCode()
Returns the numeric code from the FTP server response. |
java.lang.String |
getResponseMessage()
Returns the text message from the FTP server response. |
boolean |
isActionNotTaken()
Indicates whether the FTP server response code indicates that the requested action was not taken. |
boolean |
isDirectoryExistsError()
Indicates whether the FTP server response code indicates that the directory already exists. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private FTPServerResponse response
| Constructor Detail |
protected IllegalFTPResponseException(FTPServerResponse response)
response - the FTP server response that led to this exception| Method Detail |
public int getResponseCode()
public java.lang.String getResponseMessage()
public boolean isDirectoryExistsError()
public boolean isActionNotTaken()
|
FTP Client | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||