ca.uhn.hl7v2.model
Class DataTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ca.uhn.hl7v2.HL7Exception
              extended by ca.uhn.hl7v2.model.DataTypeException
All Implemented Interfaces:
java.io.Serializable

public class DataTypeException
extends HL7Exception

Represents a problem with the validity of a data type, such as an attempt to set the value of a primitive type to something invalid for that type.

Author:
Bryan Tripp (bryan_tripp@sourceforge.net)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ca.uhn.hl7v2.HL7Exception
ACK_AA, ACK_AE, ACK_AR, ACK_CA, ACK_CE, ACK_CR, APPLICATION_INTERNAL_ERROR, APPLICATION_RECORD_LOCKED, DATA_TYPE_ERROR, DUPLICATE_KEY_IDENTIFIER, MESSAGE_ACCEPTED, REQUIRED_FIELD_MISSING, SEGMENT_SEQUENCE_ERROR, TABLE_VALUE_NOT_FOUND, UNKNOWN_KEY_IDENTIFIER, UNSUPPORTED_EVENT_CODE, UNSUPPORTED_MESSAGE_TYPE, UNSUPPORTED_PROCESSING_ID, UNSUPPORTED_VERSION_ID
 
Constructor Summary
DataTypeException(java.lang.String message)
           
DataTypeException(java.lang.String message, int errorCondition)
           
DataTypeException(java.lang.String message, int errorCondition, java.lang.Throwable cause)
           
DataTypeException(java.lang.String message, java.lang.Throwable cause)
           
DataTypeException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class ca.uhn.hl7v2.HL7Exception
getErrorCode, getFieldPosition, getMessage, getSegmentName, getSegmentRepetition, populate, setFieldPosition, setSegmentName, setSegmentRepetition
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataTypeException

public DataTypeException(java.lang.String message,
                         int errorCondition,
                         java.lang.Throwable cause)
Parameters:
message -
errorCondition -
cause -

DataTypeException

public DataTypeException(java.lang.String message,
                         int errorCondition)
Parameters:
message -
errorCondition -

DataTypeException

public DataTypeException(java.lang.String message,
                         java.lang.Throwable cause)
Parameters:
message -
cause -

DataTypeException

public DataTypeException(java.lang.Throwable cause)
Parameters:
message -
cause -

DataTypeException

public DataTypeException(java.lang.String message)
Parameters:
message -


Copyright © 2001-2011 University Health Network. All Rights Reserved.