Class MllpAcknowledgementTimeoutException

All Implemented Interfaces:
Serializable

public class MllpAcknowledgementTimeoutException extends MllpAcknowledgementException
Raised when a MLLP Producer does not receive a HL7 acknowledgement within the configured timespan
See Also:
  • Constructor Details

    • MllpAcknowledgementTimeoutException

      public MllpAcknowledgementTimeoutException(byte[] hl7Message, boolean logPhi)
    • MllpAcknowledgementTimeoutException

      public MllpAcknowledgementTimeoutException(byte[] hl7Message, byte[] partialHl7Acknowledgement, boolean logPhi)
    • MllpAcknowledgementTimeoutException

      public MllpAcknowledgementTimeoutException(byte[] hl7Message, Throwable cause, boolean logPhi)
    • MllpAcknowledgementTimeoutException

      public MllpAcknowledgementTimeoutException(byte[] hl7Message, byte[] partialHl7Acknowledgement, Throwable cause, boolean logPhi)
    • MllpAcknowledgementTimeoutException

      public MllpAcknowledgementTimeoutException(String message, byte[] hl7Message, boolean logPhi)
    • MllpAcknowledgementTimeoutException

      public MllpAcknowledgementTimeoutException(String message, byte[] hl7Message, byte[] partialHl7Acknowledgement, boolean logPhi)
    • MllpAcknowledgementTimeoutException

      public MllpAcknowledgementTimeoutException(String message, byte[] hl7Message, Throwable cause, boolean logPhi)
    • MllpAcknowledgementTimeoutException

      public MllpAcknowledgementTimeoutException(String message, byte[] hl7Message, byte[] partialHl7Acknowledgement, Throwable cause, boolean logPhi)
  • Method Details

    • getHl7Acknowledgement

      public byte[] getHl7Acknowledgement()
      Get the HL7 acknowledgement payload associated with this exception, if any.
      Returns:
      If the timeout occurred while attempting to receive an HL7 Message, this will be null. If the timeout occurred while attempting to receive an HL7 Acknowledgement, this will be the HL7 Message. If the timeout occurred while attempting to complete the read of an HL7 message (i.e. part of the message has already been read), this will be the partial acknowledgement payload that was read before the timeout.