public class NonMatchingExchangeItemCombineException extends DeltaXMLProcessingException
When a delta includes an exchange the item in the input file that is being "exchanged" should match its item in the exchange. For a forward combine this is the "deltaxml:old" exchange node, and for a reverse combine this is the "deltaxml:new" exchange node.
Methods are supplied to get the node in the delta and input files which should be the same.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 104
|Constructor and Description|
Construct a new NonMatchingExchangeItemCombineException appropriate for use in the XML Compare code.
|Modifier and Type||Method and Description|
Reports the node in the delta file which is incorrect.
Reports the node in the input file which is incorrect.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NonMatchingExchangeItemCombineException(com.deltaxml.XMLarray.Node inputElem, com.deltaxml.XMLarray.Node deltaElem)
deltaElem- the node in the delta file which is incorrect
inputElem- the node in the input file which is incorrect
public com.deltaxml.XMLarray.Node getDeltaElem()
public com.deltaxml.XMLarray.Node getInputElem()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.