public class MllpException extends Exception
Constructor and Description |
---|
MllpException(String message) |
MllpException(String message,
byte[] hl7Message) |
MllpException(String message,
byte[] hl7Message,
byte[] hl7Acknowledgement) |
MllpException(String message,
byte[] hl7Message,
byte[] hl7Acknowledgement,
Throwable cause) |
MllpException(String message,
byte[] hl7Message,
Throwable cause) |
MllpException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getHl7Acknowledgement()
Get the HL7 acknowledgement payload associated with this exception, if any.
|
byte[] |
getHl7Message()
Get the HL7 message payload associated with this exception, if any.
|
String |
getMessage()
Override the base version of this method, and include the HL7 Message and Acknowledgement, if any
|
byte[] |
getMllpPayload()
Return the MLLP Payload that is most likely the cause of the Exception
If the HL7 Acknowledgement is present, return it.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MllpException(String message)
public MllpException(String message, byte[] hl7Message)
public MllpException(String message, byte[] hl7Message, byte[] hl7Acknowledgement)
public byte[] getHl7Message()
public byte[] getHl7Acknowledgement()
public String getMessage()
getMessage
in class Throwable
public byte[] getMllpPayload()
Apache Camel