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.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 62
|Constructor and Description|
Construct a new UnexpectedNewAttributesException appropriate for use in the XML Compare code.
|Modifier and Type||Method and Description|
Reports the xpath of the the non-modified element with an new-attribute supplied.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedNewAttributesException(java.lang.String xpath)
xpath- the xpath of the non-modified element with an new-attribute supplied
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.