public class InvalidOriginalPositionException extends DeltaXMLProcessingException
An Element has an {http://www.deltaxml.com/ns/well-formed-delta-v1}:original-position attribute which has an invalid format.
(This is only in the case of that the XMLCombiner
is being used currently)
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 358
Constructor and Description |
---|
InvalidOriginalPositionException(java.lang.String xpath,
java.lang.String originalPositionValue,
java.util.Optional<java.lang.String> diagonstic)
Construct a new InvalidOriginalPositionException appropriate for use in the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
getDiagnostics()
Reports more detailed information about why the {http://www.deltaxml.com/ns/well-formed-delta-v1}:original-position attribute
is invalid.
|
java.lang.String |
getInvalidOriginalPositionValue()
Reports value of the {http://www.deltaxml.com/ns/well-formed-delta-v1}:original-position attribute which is invalid.
|
java.lang.String |
getInvalidOriginalPositionXPath()
Reports the location of the {http://www.deltaxml.com/ns/well-formed-delta-v1}:original-position attribute which is invalid.
|
getErrorCode, getSeverity
getCause, getThrowable
public InvalidOriginalPositionException(java.lang.String xpath, java.lang.String originalPositionValue, java.util.Optional<java.lang.String> diagonstic)
xpath
- The location of the {http://www.deltaxml.com/ns/well-formed-delta-v1}:original-position attribute which is
invalid.originalPositionValue
- The value of the original-position attribute which is invalid.diagonstic
- A parameters to report more detailed information about why the {http://www.deltaxml.com/ns/well-formed-delta-v1}:original-position attribute
is invalid.public java.lang.String getInvalidOriginalPositionXPath()
public java.lang.String getInvalidOriginalPositionValue()
public java.util.Optional<java.lang.String> getDiagnostics()