@Deprecated public class InvalidModifiedElementException extends DeltaXMLProcessingException
A modified element must contain at least one of the following: new-attributes, old-attributes or child elements. If none of these is true, then the element has no changes - and hence is unchanged.
There are methods available to find out whether the modified element is unordered, and the xpath of the modified element.
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 55 or 68 depending on whether this is a ordered or unordered modified delta.
Constructor and Description |
---|
InvalidModifiedElementException(boolean unordered,
java.lang.String xpath)
Deprecated.
Construct a new InvalidModifiedElement appropriate for use in the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXPath()
Deprecated.
Reports the xpath of the modified element.
|
boolean |
isUnordered()
Deprecated.
Returns whether the modified element is unordered.
|
getErrorCode, getSeverity
getCause, getThrowable
public InvalidModifiedElementException(boolean unordered, java.lang.String xpath)
unordered
- whether the element is unorderedxpath
- the xpath of the modified elementpublic boolean isUnordered()
public java.lang.String getXPath()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.