@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.
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 357
Constructor and Description |
---|
DeletedSubtreeMismatchException(com.deltaxml.XMLarray.Node deltaElement,
com.deltaxml.XMLarray.Node nonDeltaElement)
Deprecated.
Construct a new DeletedSubtreeMismatchException appropriate for use in the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeltaElementXPath()
Deprecated.
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.
|
java.lang.String |
getNonDeltaElementXPath()
Deprecated.
Reports the keyed element in the non-delta input to the comparison.
|
getErrorCode, getSeverity
getCause, getThrowable
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 inputpublic java.lang.String getDeltaElementXPath()
public java.lang.String getNonDeltaElementXPath()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.