public class AddRemoveKeyingException extends DeltaXMLProcessingException
Added or deleted content in the delta should not have a key which is present in the non-delta input of a combine operation.
This is because, any delta added or removed content corresponds to content which was only present in one of the comparator inputs.
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 362
Constructor and Description |
---|
AddRemoveKeyingException(com.deltaxml.XMLarray.Node deltaElement,
com.deltaxml.XMLarray.Node nonDeltaElement)
Construct a new AddRemoveKeyingException appropriate for use in the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeltaElementXPath()
Reports the keyed element in the delta input to the comparison which has an identically keyed non-delta equivalent element.
|
java.lang.String |
getNonDeltaElementXPath()
Reports the keyed element in the non-delta input to the comparison.
|
getErrorCode, getSeverity
getCause, getThrowable
public AddRemoveKeyingException(com.deltaxml.XMLarray.Node deltaElement, com.deltaxml.XMLarray.Node nonDeltaElement)
deltaElement
- the keyed added/deleted element in the delta input.nonDeltaElement
- the corresponding/inconsistent element in the non-delta inputpublic java.lang.String getDeltaElementXPath()
public java.lang.String getNonDeltaElementXPath()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.