Interface ApplicationExceptionHandler<T extends Message>

All Superinterfaces:
Application<T>

public interface ApplicationExceptionHandler<T extends Message> extends Application<T>
The Interface ApplicationExceptionHandler. Allow applications to handle parsing and handling errors
Author:
Gabriel Landais
See Also:
  • Method Details

    • processException

      String processException(String incomingMessage, String outgoingMessage, Exception e)
      Process an exception.
      Parameters:
      incomingMessage - the incoming message. This is the raw message which was received from the external system
      outgoingMessage - the outgoing message. The response NAK message generated by HAPI.
      e - the exception
      Returns:
      The new outgoing message. This can be set to the value provided by HAPI in outgoingMessage, or may be replaced with another message.