@Deprecated public class DeletedSubtreeMismatchException extends DeltaXMLProcessingException
A deleted/added subtree mismatch between the delta and non-delta inputs of the forward/reverse combiner respectively.
When an element is deleted in a delta, the other non-delta input to the forward-combiner should contain the corresponding exact-subtree as was deleted (if it wasn't an exact subtree the delta would only be modified, not deleted). Correspondingly, the same applied for a reverse-combination, an added element in the delta should correspond to an exact subtree in the non-delta input.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 357
|Constructor and Description|
Construct a new DeletedSubtreeMismatchException 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 should have a exactly equalsubtree in the non-delta input, with the same key.
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 DeletedSubtreeMismatchException(com.deltaxml.XMLarray.Node deltaElement, com.deltaxml.XMLarray.Node nonDeltaElement)
deltaElement- the keyed 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.