public class ConnectionException extends ChannelException
Constructor and Description |
---|
ConnectionException()
Creates new
ConnectionException without detail message. |
ConnectionException(Channel channel,
java.lang.String msg)
Constructs an
ConnectionException with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
Channel |
getChannel()
Get the channel for which the connection exception was thrown.
|
public ConnectionException()
ConnectionException
without detail message.public ConnectionException(Channel channel, java.lang.String msg)
ConnectionException
with the specified detail message.channel
- for which the exception was thrownmsg
- the detail message.public Channel getChannel()