net.sf.xmlmatcher.exc
Class XMLMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sf.xmlmatcher.exc.MatcherException
net.sf.xmlmatcher.exc.XMLMismatchException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AttributeValueMismatchException, GenericXMLMismatchException, JsAssertionFailedException, MissingAttributeException, MissingElementsException, RexMismatchException, TagNamesMismatchException, XMLTextComparisonException, XPathDoesNotExistException
public abstract class XMLMismatchException
- extends MatcherException
Generic base class for all exceptions that report some kind of mismatch between actual document and template.
- See Also:
- Serialized Form
Constructor Summary |
protected |
XMLMismatchException(java.lang.String message,
org.w3c.dom.Element template,
org.w3c.dom.Element actual)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XMLMismatchException
protected XMLMismatchException(java.lang.String message,
org.w3c.dom.Element template,
org.w3c.dom.Element actual)
getTemplatePath
public final java.lang.String getTemplatePath()
getActualPath
public final java.lang.String getActualPath()
getTemplate
public final org.w3c.dom.Element getTemplate()
getActual
public final org.w3c.dom.Element getActual()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
Copyright © 2007. All Rights Reserved.