public interface ReceivingApplicationExceptionHandler
| Modifier and Type | Method and Description | 
|---|---|
| String | processException(String incomingMessage,
                Map<String,Object> incomingMetadata,
                String outgoingMessage,
                Exception e)Process an exception. | 
String processException(String incomingMessage, Map<String,Object> incomingMetadata, String outgoingMessage, Exception e) throws HL7Exception
incomingMessage - the incoming message. This is the raw message which was
            received from the external systemincomingMetadata - 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 receivedoutgoingMessage, or may be replaced with
         another message. This method may not return null.HL7ExceptionCopyright © 2001–2017 University Health Network. All rights reserved.