Will be thrown if anything goes wrong with the SSH protocol. More...
Public Member Functions | |
JSchException () | |
Creates a JSchException without message. | |
JSchException (String s) | |
Creates a JSchException with message. | |
JSchException (String s, Throwable e) | |
Creates a JSchException with message and cause. | |
Throwable | getCause () |
retrieves the cause. | |
Private Attributes | |
Throwable | cause = null |
Will be thrown if anything goes wrong with the SSH protocol.
Definition at line 35 of file JSchException.java.
com.jcraft.jsch.JSchException.JSchException | ( | ) |
Creates a JSchException without message.
Definition at line 45 of file JSchException.java.
com.jcraft.jsch.JSchException.JSchException | ( | String | s | ) |
Creates a JSchException with message.
Definition at line 52 of file JSchException.java.
com.jcraft.jsch.JSchException.JSchException | ( | String | s, | |
Throwable | e | |||
) |
Creates a JSchException with message and cause.
s | the message to be shown to the user. | |
e | a nested Throwable, which indicates the cause of this Exception. |
Definition at line 61 of file JSchException.java.
References com.jcraft.jsch.JSchException.cause.
Throwable com.jcraft.jsch.JSchException.getCause | ( | ) |
retrieves the cause.
Definition at line 69 of file JSchException.java.
References com.jcraft.jsch.JSchException.cause.
Throwable com.jcraft.jsch.JSchException.cause = null [private] |
Definition at line 41 of file JSchException.java.
Referenced by com.jcraft.jsch.JSchException.getCause(), and com.jcraft.jsch.JSchException.JSchException().