Class TargetErrorHandler
- java.lang.Object
-
- org.apache.synapse.transport.passthru.TargetErrorHandler
-
public class TargetErrorHandler extends Object
-
-
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 mc, int errorCode, String errorMessage, Exception exceptionToRaise, ProtocolState state)
Mark request to send failed with error
-
-
-
Constructor Detail
-
TargetErrorHandler
public TargetErrorHandler(TargetConfiguration targetConfiguration)
-
-
Method Detail
-
handleError
public void handleError(org.apache.axis2.context.MessageContext mc, int errorCode, String errorMessage, Exception exceptionToRaise, ProtocolState state)
Mark request to send failed with error- Parameters:
mc
- the failed message contexterrorCode
- the error code to raiseerrorMessage
- the text for an error message to be returned to the MR on failureexceptionToRaise
- an Exception to be returned to the MR on failurestate
- state of the connection
-
-