net.sf.xmlmatcher.exc
Class XMLTextComparisonException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.xmlmatcher.exc.MatcherException
              extended by net.sf.xmlmatcher.exc.XMLMismatchException
                  extended by net.sf.xmlmatcher.exc.XMLTextComparisonException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActualValueIsNotANumberException, ElementTextRegexMismatchException, ElementTextWildcardMismatchException, InvalidTimeOfDayException, NumericValuesDifferException, TextValuesDifferException, TimeOfDayDifferException

public abstract class XMLTextComparisonException
extends XMLMismatchException

Base exception class generated when the template text does not match the actual text.

See Also:
Serialized Form

Constructor Summary
protected XMLTextComparisonException(java.lang.String message, java.lang.String tempvalue, java.lang.String actvalue, org.w3c.dom.Element template, org.w3c.dom.Element actual)
           
 
Method Summary
 java.lang.String getActualText()
           
 java.lang.String getTemplateText()
           
 
Methods inherited from class net.sf.xmlmatcher.exc.XMLMismatchException
getActual, getActualPath, getMessage, getTemplate, getTemplatePath
 
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
 

Constructor Detail

XMLTextComparisonException

protected XMLTextComparisonException(java.lang.String message,
                                     java.lang.String tempvalue,
                                     java.lang.String actvalue,
                                     org.w3c.dom.Element template,
                                     org.w3c.dom.Element actual)
Method Detail

getTemplateText

public final java.lang.String getTemplateText()

getActualText

public final java.lang.String getActualText()


Copyright © 2007. All Rights Reserved.