Package org.apache.camel.processor.mllp
Class Hl7AcknowledgementGenerationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.camel.processor.mllp.Hl7AcknowledgementGenerationException
-
- All Implemented Interfaces:
Serializable
public class Hl7AcknowledgementGenerationException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Hl7AcknowledgementGenerationException(Hl7Util hl7Util, String message)
Hl7AcknowledgementGenerationException(Hl7Util hl7Util, String message, byte[] hl7MessageBytes)
Hl7AcknowledgementGenerationException(Hl7Util hl7Util, String message, byte[] hl7MessageBytes, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getHl7MessageBytes()
String
getMessage()
Override the base version of this method, and include the HL7 Message and Acknowledgement, if anyboolean
hasHl7MessageBytes()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
hasHl7MessageBytes
public boolean hasHl7MessageBytes()
-
getHl7MessageBytes
public byte[] getHl7MessageBytes()
-
getMessage
public String getMessage()
Override the base version of this method, and include the HL7 Message and Acknowledgement, if any- Overrides:
getMessage
in classThrowable
- Returns:
- the detail message of this MLLP Exception
-
-