com.hazelcast.nio.tcp

## Class TcpIpConnectionChannelErrorHandler

- java.lang.Object
- - com.hazelcast.nio.tcp.TcpIpConnectionChannelErrorHandler

- All Implemented Interfaces:
    com.hazelcast.internal.networking.ChannelErrorHandler

      public class TcpIpConnectionChannelErrorHandler
      extends Object
      implements com.hazelcast.internal.networking.ChannelErrorHandler

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TcpIpConnectionChannelErrorHandler(ILogger logger)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onError(com.hazelcast.internal.networking.Channel channel, Throwable error)` Called when an error was detected.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TcpIpConnectionChannelErrorHandler

          public TcpIpConnectionChannelErrorHandler(ILogger logger)

  - ### Method Detail

    - #### onError

          public void onError(com.hazelcast.internal.networking.Channel channel,
                              Throwable error)

      Description copied from interface: `com.hazelcast.internal.networking.ChannelErrorHandler`
      Called when an error was detected.
      Specified by:
        `onError` in interface `com.hazelcast.internal.networking.ChannelErrorHandler`
      Parameters:
        `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.
        `error` - the Throwable causing problems

Copyright © 2019. All rights reserved.