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
public class SshException extends IOException
Represents an SSH related exception- Author:
- Apache MINA SSHD Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SshException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDisconnectCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SshException
public SshException(String message)
-
SshException
public SshException(Throwable cause)
-
SshException
public SshException(int disconnectCode)
-
SshException
public SshException(int disconnectCode, String message)
-
SshException
public SshException(int disconnectCode, Throwable cause)
-
-