public class TargetErrorHandler
extends java.lang.Object
Constructor and Description |
---|
TargetErrorHandler(TargetConfiguration targetConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
handleError(org.apache.axis2.context.MessageContext mc,
int errorCode,
java.lang.String errorMessage,
java.lang.Exception exceptionToRaise,
ProtocolState state)
Mark request to send failed with error
|
public TargetErrorHandler(TargetConfiguration targetConfiguration)
public void handleError(org.apache.axis2.context.MessageContext mc, int errorCode, java.lang.String errorMessage, java.lang.Exception exceptionToRaise, ProtocolState state)
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 connectionCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.