public class CompositeHL7v2Exception extends AbstractHL7v2Exception implements Iterable<AbstractHL7v2Exception>
HL7v2Exceptions, e.g. as result for
validating a message that has errors in multiple places. It contains an own
error message, which populateMessage(Message, AckTypeCode) writes
into MSA-3.| Constructor and Description |
|---|
CompositeHL7v2Exception()
Deprecated.
|
CompositeHL7v2Exception(AbstractHL7v2Exception[] wrapped)
Deprecated.
|
CompositeHL7v2Exception(List<AbstractHL7v2Exception> wrapped)
Deprecated.
|
CompositeHL7v2Exception(String message)
Deprecated.
|
CompositeHL7v2Exception(String message,
AbstractHL7v2Exception[] wrapped)
Deprecated.
|
CompositeHL7v2Exception(String message,
List<AbstractHL7v2Exception> wrapped)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(AbstractHL7v2Exception exception)
Deprecated.
Adds an exception
|
Iterator<AbstractHL7v2Exception> |
iterator()
Deprecated.
|
ca.uhn.hl7v2.model.Message |
populateMessage(ca.uhn.hl7v2.model.Message m,
AckTypeCode code)
Deprecated.
Populates the respective ERR fields of a response message with data
contained in this exception
|
fillErr347, getErrCode, getErrorMessage, setErrCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic CompositeHL7v2Exception()
public CompositeHL7v2Exception(List<AbstractHL7v2Exception> wrapped)
public CompositeHL7v2Exception(AbstractHL7v2Exception[] wrapped)
public CompositeHL7v2Exception(String message, AbstractHL7v2Exception[] wrapped)
public CompositeHL7v2Exception(String message)
public CompositeHL7v2Exception(String message, List<AbstractHL7v2Exception> wrapped)
public boolean add(AbstractHL7v2Exception exception)
exception - true if successfully added, false
otherwisepublic ca.uhn.hl7v2.model.Message populateMessage(ca.uhn.hl7v2.model.Message m,
AckTypeCode code)
AbstractHL7v2ExceptionpopulateMessage in class AbstractHL7v2Exceptionm - the empty HAPI messagecode - the ack codeAbstractHL7v2Exception.populateMessage(ca.uhn.hl7v2.model.Message,
org.openehealth.ipf.modules.hl7.AckTypeCode)public Iterator<AbstractHL7v2Exception> iterator()
iterator in interface Iterable<AbstractHL7v2Exception>Iterable.iterator()Copyright © 2016 Open eHealth Foundation. All rights reserved.