public class FTPException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected Exception |
cause |
protected int |
code |
protected String |
customMessage |
static int |
UNSPECIFIED |
| Constructor and Description |
|---|
FTPException(int code) |
FTPException(int code,
String message) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getCodeExplanation(int code) |
String |
getCustomMessage() |
String |
getMessage() |
Exception |
getRootCause()
Retrieve the nested lower layer exception.
|
void |
printStackTrace() |
void |
printStackTrace(PrintStream ps) |
void |
printStackTrace(PrintWriter pw) |
void |
setCode(int c) |
void |
setCustomMessage(String m) |
void |
setRootCause(Exception c) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTracepublic static final int UNSPECIFIED
protected int code
protected Exception cause
protected String customMessage
public FTPException(int code,
String message)
public FTPException(int code)
public String getCodeExplanation(int code)
public void setRootCause(Exception c)
public Exception getRootCause()
public void setCode(int c)
public int getCode()
public void setCustomMessage(String m)
public String getCustomMessage()
public String getMessage()
getMessage in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter pw)
printStackTrace in class ThrowableCopyright © 2013. All Rights Reserved.