Class TargetErrorHandler


  • public class TargetErrorHandler
    extends Object
    • Constructor Detail

    • 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 context
        errorCode - the error code to raise
        errorMessage - the text for an error message to be returned to the MR on failure
        exceptionToRaise - an Exception to be returned to the MR on failure
        state - state of the connection