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.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 122
|Constructor and Description|
Construct a new IncorrectAttributeCombineException appropriate for use in the XML Compare code.
|Modifier and Type||Method and Description|
Reports the QName of the attribute that has an incorrect value in the input document.
Reports the node where the attribute is located.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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.