public class NonMatchingDeletedDeltaCombineException extends DeltaXMLProcessingException
When a delta refers to a node in the input file which is to be excluded from the result it is expected to be the same as the same item in the delta. This is so the combine algorithm can be sure that it is removing the correct item. This situation occurs with a deleted delta in a forward combine, and a added delta in a reverse combine.
Methods are supplied to get the node in the delta and input files which should be the same.
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 103
Constructor and Description |
---|
NonMatchingDeletedDeltaCombineException(com.deltaxml.XMLarray.Node inputElem,
com.deltaxml.XMLarray.Node deltaElem)
Construct a new NonMatchingDeltaCombineException appropriate for use in the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
com.deltaxml.XMLarray.Node |
getDeltaElem()
Reports the node in the delta file which is incorrect.
|
com.deltaxml.XMLarray.Node |
getInputElem()
Reports the node in the input file which is incorrect.
|
getErrorCode, getSeverity
getCause, getThrowable
public NonMatchingDeletedDeltaCombineException(com.deltaxml.XMLarray.Node inputElem, com.deltaxml.XMLarray.Node deltaElem)
deltaElem
- the node in the delta file which is incorrectinputElem
- the node in the input file which is incorrectpublic com.deltaxml.XMLarray.Node getDeltaElem()
public com.deltaxml.XMLarray.Node getInputElem()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.