public class TcpIpConnectionChannelErrorHandler extends Object implements ChannelErrorHandler
Constructor and Description |
---|
TcpIpConnectionChannelErrorHandler(ILogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
onError(Channel channel,
Throwable cause)
Called when an error happened.
|
public TcpIpConnectionChannelErrorHandler(ILogger logger)
public void onError(Channel channel, Throwable cause)
ChannelErrorHandler
onError
in interface ChannelErrorHandler
channel
- the Channel that ran into an error. It could be that the Channel is null if error
was thrown not related to a particular Channel.cause
- the Throwable causing problemsCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.