public class IncorrectAttributeCombineException extends DeltaXMLProcessingException
When the delta specifies that an attribute is deleted from the supplied input file (that is it has a deleted delta in a forward-combine, or an added delta in a reverse-combine) the same attribute in the input file is expected to have the same value as specified in the delta.
Methods are supplied to get the node which is missing an attribute in the input file and the qualified name of the missing attribute.
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 122
Constructor and Description |
---|
IncorrectAttributeCombineException(com.deltaxml.XMLarray.Node inputElem,
java.lang.String attrQName)
Construct a new IncorrectAttributeCombineException appropriate for use in the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrQName()
Reports the QName of the attribute that has an incorrect value in the input document.
|
com.deltaxml.XMLarray.Node |
getInputElem()
Reports the node where the attribute is located.
|
getErrorCode, getSeverity
getCause, getThrowable
public IncorrectAttributeCombineException(com.deltaxml.XMLarray.Node inputElem, java.lang.String attrQName)
inputElem
- the node which is missing the attribute.attrQName
- the QName of the attribute that is missing from the input document.public com.deltaxml.XMLarray.Node getInputElem()
public java.lang.String getAttrQName()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.