ca.uhn.hl7v2.conf.check
Class XElementPresentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ca.uhn.hl7v2.HL7Exception
              extended by ca.uhn.hl7v2.conf.check.ProfileNotFollowedException
                  extended by ca.uhn.hl7v2.conf.check.XElementPresentException
All Implemented Interfaces:
java.io.Serializable

public class XElementPresentException
extends ProfileNotFollowedException

An element that a profile defines as "not used" (X) is present in the message.

Author:
Bryan Tripp
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
XElementPresentException(java.lang.String msg)
          Constructs an instance of XElementPresentException with the specified detail message.
 
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

XElementPresentException

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

Parameters:
msg - the detail message.


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