Sun Adapter for TCP/IP HL7

com.stc.connector.hl7.framework.llp
Class HLLPChecksumException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.stc.connector.appconn.common.ApplicationException
              extended by com.stc.connector.tcpip.hl7.exception.HL7ApplicationException
                  extended by com.stc.connector.hl7.framework.llp.HLLPParsingtException
                      extended by com.stc.connector.hl7.framework.llp.HLLPChecksumException
All Implemented Interfaces:
TCPIPNestedException, java.io.Serializable

public class HLLPChecksumException
extends HLLPParsingtException

It represents a HLLP message parsing (extracting) exception. Indicates the HLLP checksum wrong in previous data block received. It correspondes to NAK block reason code 'X'.

Version:
cvs revision: $Revision: 1.4 $ Last Modified: $Date: 2005/09/03 06:28:20 $
Author:
Harry Liu
See Also:
Serialized Form

Field Summary
static java.lang.String version
           
 
Constructor Summary
HLLPChecksumException()
          Creates a new instance of HLLPChecksumException without detail message.
HLLPChecksumException(java.lang.Exception nestedException)
           
HLLPChecksumException(java.lang.String msg)
          Constructs an instance of HLLPChecksumException with the specified detail message.
HLLPChecksumException(java.lang.String msg, java.lang.Exception nestedException)
           
 
Method Summary
 java.lang.String getReasonCode()
          Method getReasonCode.
 
Methods inherited from class com.stc.connector.tcpip.hl7.exception.HL7ApplicationException
getNestedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version

public static final java.lang.String version
See Also:
Constant Field Values
Constructor Detail

HLLPChecksumException

public HLLPChecksumException()
Creates a new instance of HLLPChecksumException without detail message.


HLLPChecksumException

public HLLPChecksumException(java.lang.String msg)
Constructs an instance of HLLPChecksumException with the specified detail message.

Parameters:
msg - the detail message.

HLLPChecksumException

public HLLPChecksumException(java.lang.Exception nestedException)
Parameters:
nestedException -

HLLPChecksumException

public HLLPChecksumException(java.lang.String msg,
                             java.lang.Exception nestedException)
Parameters:
msg -
nestedException -
Method Detail

getReasonCode

public java.lang.String getReasonCode()
Description copied from class: HLLPParsingtException
Method getReasonCode.

Specified by:
getReasonCode in class HLLPParsingtException
Returns:
String
See Also:
HLLPParsingtException.getReasonCode()

Sun Adapter for TCP/IP HL7