Class SshChannelOpenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.sshd.common.channel.exception.SshChannelException
org.apache.sshd.common.channel.exception.SshChannelOpenException
- All Implemented Interfaces:
Serializable
,ChannelIdentifier
Documents failure of a channel to open as expected.
- Author:
- Apache MINA SSHD Project
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSshChannelOpenException
(long channelId, int code, String message) SshChannelOpenException
(long channelId, int code, String message, Throwable cause) -
Method Summary
Methods inherited from class org.apache.sshd.common.channel.exception.SshChannelException
getChannelId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SshChannelOpenException
-
SshChannelOpenException
-
-
Method Details
-
getReasonCode
public int getReasonCode()The reason code as specified by RFC 4254.- Returns:
- reason code; 0 if no standardized reason code is given.
-