public class SftpException extends Exception
SSH_FX_FAILURE
SSH_FX_NO_SUCH_FILE
SSH_FX_OP_UNSUPPORTED
Modifier and Type | Field and Description |
---|---|
int |
id
The status code which caused the exception to be thrown.
|
Constructor and Description |
---|
SftpException(int id,
String message)
Creates a new SftpException.
|
SftpException(int id,
String message,
Throwable e)
Creates a new SftpException.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the cause of the exception.
|
String |
toString()
returns a String representation of this exception.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public SftpException(int id, String message)
id
- the status code identifying the type of error.message
- the error message sent by the server or generated
by the client.public SftpException(int id, String message, Throwable e)
id
- the status code identifying the type of error.message
- the error message sent by the server or generated
by the client.e
- a throwable which was the cause of this exception.
May be null
if there was no thrown cause.This is an inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.