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)
ChannelErrorHandleronError in interface ChannelErrorHandlerchannel - 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 © 2017 Hazelcast, Inc.. All Rights Reserved.