net.sf.xmlmatcher.exc
Class NumericValuesDifferException

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
                      extended by net.sf.xmlmatcher.exc.NumericValuesDifferException
All Implemented Interfaces:
java.io.Serializable

public final class NumericValuesDifferException
extends XMLTextComparisonException

Exception generated by FloatingNumbersMatchingStrategy when the actual number does not match the supplied template number within specified tolerance.

See Also:
Serialized Form

Constructor Summary
NumericValuesDifferException(java.lang.String tempvalue, java.lang.String actvalue, double tolerance, org.w3c.dom.Element template, org.w3c.dom.Element actual)
           
 
Method Summary
 double getTolerance()
           
 
Methods inherited from class net.sf.xmlmatcher.exc.XMLTextComparisonException
getActualText, 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

NumericValuesDifferException

public NumericValuesDifferException(java.lang.String tempvalue,
                                    java.lang.String actvalue,
                                    double tolerance,
                                    org.w3c.dom.Element template,
                                    org.w3c.dom.Element actual)
Method Detail

getTolerance

public double getTolerance()


Copyright © 2007. All Rights Reserved.