@Deprecated 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.
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 123
Constructor and Description |
---|
UnexpectedAttributeCombineException(com.deltaxml.XMLarray.Node inputElem,
java.lang.String attrQName)
Deprecated.
Construct a new UnexpectedAttributeCombineException appropriate for use in the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrQName()
Deprecated.
Reports the QName of the attribute that is not expected in the input document.
|
com.deltaxml.XMLarray.Node |
getInputElem()
Deprecated.
Reports the node where the unexpected attribute is located.
|
getErrorCode, getSeverity
getCause, getThrowable
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.