public class SshException
extends java.lang.Exception
In case that the cause for throwing SshException is not exception but invalid client operation or server response, SshException message will contain textual part of server response.
Constructor and Description |
---|
SshException() |
SshException(java.lang.String message)
Creates exception with specified message string.
|
SshException(java.lang.String message,
java.lang.Throwable cause)
Creates exception with specified message string and source exception
|
SshException(java.lang.Throwable cause)
Creates exception with specified message string and source exception
|
Modifier and Type | Method and Description |
---|---|
static SshException |
wrap(java.lang.Throwable e) |
public SshException()
public SshException(java.lang.String message)
message
- the message of exceptionpublic SshException(java.lang.String message, java.lang.Throwable cause)
message
- the message of exceptioncause
- the exception which caused this exceptionpublic SshException(java.lang.Throwable cause)
cause
- the exception which caused this exceptionpublic static SshException wrap(java.lang.Throwable e)
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved