public interface ApplicationExceptionHandler<T extends Message> extends Application<T>
Application
Modifier and Type | Method and Description |
---|---|
String |
processException(String incomingMessage,
String outgoingMessage,
Exception e)
Process an exception.
|
canProcess, processMessage
String processException(String incomingMessage, String outgoingMessage, Exception e) throws HL7Exception
incomingMessage
- the incoming message. This is the raw message which was
received from the external systemoutgoingMessage
- the outgoing message. The response NAK message generated by
HAPI.e
- the exceptionoutgoingMessage
, or may be replaced with
another message.HL7Exception
Copyright © 2001–2017 University Health Network. All rights reserved.