Sun Adapter for TCP/IP HL7

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

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.HLLPCharacterCountException
All Implemented Interfaces:
TCPIPNestedException, java.io.Serializable

public class HLLPCharacterCountException
extends HLLPParsingtException

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

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
HLLPCharacterCountException()
          Creates a new instance of HLLPCharacterCountException without detail message.
HLLPCharacterCountException(java.lang.Exception nestedException)
           
HLLPCharacterCountException(java.lang.String msg)
          Constructs an instance of HLLPCharacterCountException with the specified detail message.
HLLPCharacterCountException(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

HLLPCharacterCountException

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


HLLPCharacterCountException

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

Parameters:
msg - the detail message.

HLLPCharacterCountException

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

HLLPCharacterCountException

public HLLPCharacterCountException(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