@Deprecated 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.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 362
|Constructor and Description|
Construct a new AddRemoveKeyingException appropriate for use in the XML Compare code.
|Modifier and Type||Method and Description|
Reports the keyed element in the delta input to the comparison which has an identically keyed non-delta equivalent element.
Reports the keyed element in the non-delta input to the comparison.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 input
public java.lang.String getDeltaElementXPath()
public java.lang.String getNonDeltaElementXPath()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.