Package org.apache.synapse.transport.netty.sender

## Class TargetErrorHandler

- java.lang.Object
- - org.apache.synapse.transport.netty.sender.TargetErrorHandler

-     public class TargetErrorHandler
      extends Object

  `TargetErrorHandler` will report back failure to the message receiver.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TargetErrorHandler​(TargetConfiguration targetConfiguration)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `handleError​(org.apache.axis2.context.MessageContext msgContext, int errorCode, String errorMessage, Throwable exceptionToRaise)` |

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

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

- - ### Constructor Detail

    - #### TargetErrorHandler

          public TargetErrorHandler​(TargetConfiguration targetConfiguration)

  - ### Method Detail

    - #### handleError

          public void handleError​(org.apache.axis2.context.MessageContext msgContext,
                                  int errorCode,
                                  String errorMessage,
                                  Throwable exceptionToRaise)