public class HL7Exception
extends java.lang.RuntimeException
| Constructor and Description |
|---|
HL7Exception()
Constructs a new HL7 Exception with null as its detail message
|
HL7Exception(java.lang.String strMessage)
Constructs a new HL7 Exception with the specified detail message.
|
HL7Exception(java.lang.String strMessage,
java.lang.Throwable cause)
Constructs a new HL7 Exception with the specified detail message and cause
|
HL7Exception(java.lang.Throwable cause)
Constructs a new HL7 Exception with the specified cause.
|
| Modifier and Type | Method and Description |
|---|---|
EnumErrorCode |
getErrorCode()
Retrieves Error Code.
|
java.lang.String |
getMessage()
Returns the detail message string of this throwable.
|
void |
setErrorCode(EnumErrorCode enumErrorCode)
Sets Error Code corresponding to exception occured.
|
public HL7Exception()
public HL7Exception(java.lang.String strMessage,
java.lang.Throwable cause)
strMessage - - the detail messagecause - - the causepublic HL7Exception(java.lang.Throwable cause)
cause - - the cause (A null value is permitted, and indicates that the cause is nonexistent or unknown.)public HL7Exception(java.lang.String strMessage)
strMessage - - the detail message.public void setErrorCode(EnumErrorCode enumErrorCode)
enumErrorCode - contains errror codes raised by SDK.public EnumErrorCode getErrorCode()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable