public class UnexpectedAttributeCombineException extends DeltaXMLProcessingException
When the delta specifies that an attribute is added in the delta file (that is it has an added delta in a forward-combine, or a deleted delta in a reverse-combine) the input file should not already have an attribute with the same name in the same namespace.
Methods are supplied to get the node which contains the unexpected attribute in the input file and the qualified name of the unexpected attribute.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 123
|Constructor and Description|
Construct a new UnexpectedAttributeCombineException appropriate for use in the XML Compare code.
|Modifier and Type||Method and Description|
Reports the QName of the attribute that is not expected in the input document.
Reports the node where the unexpected attribute is located.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedAttributeCombineException(com.deltaxml.XMLarray.Node inputElem, java.lang.String attrQName)
inputElem- the node where the unexpected attribute is located.
attrQName- the QName of the attribute that is not expected in the input document.
public com.deltaxml.XMLarray.Node getInputElem()
public java.lang.String getAttrQName()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.