public class UnexpectedNewAttributesException extends DeltaXMLProcessingException
In DX1, an attribute called new-attribute is used to store the deleted or, in the case of a modified attribute, the old value. An new-attribute should only be supplied on modified elements.
A method is supplied to find out the xpath of the element which incorrectly contains a new-attribute.
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 62
Constructor and Description |
---|
UnexpectedNewAttributesException(java.lang.String xpath)
Construct a new UnexpectedNewAttributesException 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 new-attribute supplied.
|
getErrorCode, getSeverity
getCause, getThrowable
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.