public class FTPException
extends java.lang.Exception
| Constructor and Description |
|---|
FTPException(FTPReply reply) |
FTPException(int code) |
FTPException(int code,
java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Returns the code of the occurred FTP error.
|
java.lang.String |
getMessage()
Returns the message of the occurred FTP error.
|
java.lang.String |
toString() |
public FTPException(int code)
public FTPException(int code,
java.lang.String message)
public FTPException(FTPReply reply)
public int getCode()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable