Top Description Fields Constructors Methods
org.apache.sshd.common.channel.exception

public Class SshChannelOpenException

extends SshChannelException
Class Inheritance

Documents failure of a channel to open as expected.
Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final int
private static final long

Constructor Summary

AccessConstructor and Description
public
SshChannelOpenException(long channelId, int code, String message)

public
SshChannelOpenException(long channelId, int code, String message, Throwable cause)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

reason code; 0 if no standardized reason code is given.
getReasonCode
()

The reason code as specified by RFC 4254.

Inherited from org.apache.sshd.common.channel.exception.SshChannelException:
getChannelId

Field Detail

codeback to summary
private final int code
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.sshd.common.channel.exception.SshChannelException.serialVersionUID.

Constructor Detail

SshChannelOpenExceptionback to summary
public SshChannelOpenException(long channelId, int code, String message)
SshChannelOpenExceptionback to summary
public SshChannelOpenException(long channelId, int code, String message, Throwable cause)

Method Detail

getReasonCodeback to summary
public int getReasonCode()

The reason code as specified by RFC 4254.

Returns:int

reason code; 0 if no standardized reason code is given.