Package org.apache.sshd.common
Class SshException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.sshd.common.SshException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WindowClosedException
Represents an SSH related exception
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionSshException
(int disconnectCode) SshException
(int disconnectCode, String message) SshException
(int disconnectCode, String message, Throwable cause) SshException
(int disconnectCode, Throwable cause) SshException
(String message) SshException
(String message, Throwable cause) SshException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
disconnectCode
private final int disconnectCode
-
-
Constructor Details
-
SshException
-
SshException
-
SshException
-
SshException
public SshException(int disconnectCode) -
SshException
-
SshException
-
SshException
-
-
Method Details
-
getDisconnectCode
public int getDisconnectCode()
-