public class FTPException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
cvsId
Revision control id
|
| Constructor and Description |
|---|
FTPException(FTPReply reply)
Constructor.
|
FTPException(java.lang.String msg)
Constructor.
|
FTPException(java.lang.String msg,
java.lang.String replyCode)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getReplyCode()
Get the reply code if it exists
|
java.lang.String |
toString()
Returns a short description of this exception
|
public static final java.lang.String cvsId
public FTPException(java.lang.String msg)
msg - Message that the user will be
able to retrievepublic FTPException(java.lang.String msg,
java.lang.String replyCode)
msg - message that the user will be
able to retrievereplyCode - string form of reply codepublic FTPException(FTPReply reply)
reply - reply objectpublic int getReplyCode()
public java.lang.String toString()
toString in class java.lang.ThrowableCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.