public class MissingPCDataCombineException extends DeltaXMLProcessingException
When the delta specifies that text is deleted from the supplied input file (that is it has a deleted delta in a forward-combine, or an added delta in a reverse-combine) the input file is expected to have PCData at the appropriate location. If this expected PCData is not found (e.g. when there is an element there instead), the combiner cannot be sure whether it is processing the correct node in the input.
Method are supplied to get the node of the item in the input and delta document which are non-matching.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 111
|Constructor and Description|
Construct a new MissingPCDataCombineException appropriate for use in the XML Compare code.
|Modifier and Type||Method and Description|
Reports the node in the delta which contains the PCData that should be deleted.
Reports the node where PCData was expected.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingPCDataCombineException(com.deltaxml.XMLarray.Node inputElem, com.deltaxml.XMLarray.Node deltaElem)
inputElem- the node where PCData was expected.
deltaElem- the node in the delta which contains the PCData that should be deleted.
public com.deltaxml.XMLarray.Node getInputElem()
public com.deltaxml.XMLarray.Node getDeltaElem()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.