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

  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 Details

  - ### TargetErrorHandler

    public TargetErrorHandler(TargetConfiguration targetConfiguration)

- ## Method Details

  - ### handleError

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