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