This exception will be thrown if anything goes wrong while using the SFTP protocol. More...
Public Member Functions | |
SftpException (int id, String message) | |
Creates a new SftpException. | |
Public Attributes | |
int | id |
The status code which caused the exception to be thrown. | |
Private Attributes | |
Throwable | cause = null |
This exception will be thrown if anything goes wrong while using the SFTP protocol.
The exception contains an error identifier, which corresponds to the status codes used in the SFTP protocol for error messages. The following values are used directly in the source code:
some operation is not supported by the server But in general every SSH_FXP_STATUS status value can be thrown.
Definition at line 53 of file SftpException.java.
com.jcraft.jsch.SftpException.SftpException | ( | int | id, | |
String | message | |||
) |
Creates a new SftpException.
id | the status code identifying the type of error. | |
message | the error message sent by the server or generated by the client. |
Definition at line 69 of file SftpException.java.
Throwable com.jcraft.jsch.SftpException.cause = null [private] |
Definition at line 61 of file SftpException.java.
The status code which caused the exception to be thrown.
Definition at line 60 of file SftpException.java.