public class UnexpectedOldAttributesException extends DeltaXMLProcessingException
In DX1, an attribute called old-attribute is used to store the deleted or, in the case of a modified attribute, the old value. An old-attribute should only be supplied on modified elements.
A method is supplied to find out the xpath of the element which incorrectly contains a old-attribute.
Note: the getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 61
| Constructor and Description |
|---|
UnexpectedOldAttributesException(java.lang.String xpath)
Construct a new UnexpectedOldAttributesException appropriate for use in the XML Compare code.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getXPath()
Reports the xpath of the the non-modified element with an old-attribute supplied.
|
getErrorCode, getSeveritygetCause, getThrowableCopyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.