Interface ReceivingApplicationExceptionHandler


The Interface ReceivingApplicationExceptionHandler. Allow applications to handle parsing and handling errors.
Author:
Gabriel Landais
  • Method Details

    • processException

      String processException(String incomingMessage, Map<String,Object> incomingMetadata, String outgoingMessage, Exception e)
      Process an exception.
      Parameters:
      incomingMessage - the incoming message. This is the raw message which was received from the external system
      incomingMetadata - Any metadata that accompanies the incoming message. See Transportable.getMetadata()
      outgoingMessage - the outgoing message. The response NAK message generated by HAPI.
      e - the exception which was received
      Returns:
      The new outgoing message. This can be set to the value provided by HAPI in outgoingMessage, or may be replaced with another message. This method may not return null.