public class InvalidDeltaValueException extends DeltaXMLProcessingException
In DX1, a delta attribute should have one of the following values; "add", "delete", "WFmodify", "WFUmodify" or "unchanged".
Methods are supplied to find out the xpath of the element with an invalid delta attribute and the value of the invalid attribute
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 57
Constructor and Description |
---|
InvalidDeltaValueException(java.lang.String xpath,
java.lang.String delta)
Construct a new InvalidDeltaValue appropriate for use in the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDelta()
Reports the value of the invalid delta.
|
java.lang.String |
getXPath()
Reports the xpath of the element with an invalid delta.
|
getErrorCode, getSeverity
getCause, getThrowable
public InvalidDeltaValueException(java.lang.String xpath, java.lang.String delta)
xpath
- the xpath of the element with the invalid valuedelta
- the value of the invalid deltapublic java.lang.String getXPath()
public java.lang.String getDelta()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.