net.sf.xmlmatcher.rex
Class UnexpectedElementException

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

public final class UnexpectedElementException
extends RexMismatchException

Actual input contains unexpected element

See Also:
Serialized Form

Constructor Summary
UnexpectedElementException(org.w3c.dom.Element template, org.w3c.dom.Element actual)
           
UnexpectedElementException(org.w3c.dom.Element template, org.w3c.dom.Element actual, java.util.List<Position> candidates)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class net.sf.xmlmatcher.rex.RexMismatchException
getCandidates, printCandidatePaths, printCandidates
 
Methods inherited from class net.sf.xmlmatcher.exc.XMLMismatchException
getActual, getActualPath, 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

UnexpectedElementException

public UnexpectedElementException(org.w3c.dom.Element template,
                                  org.w3c.dom.Element actual,
                                  java.util.List<Position> candidates)

UnexpectedElementException

public UnexpectedElementException(org.w3c.dom.Element template,
                                  org.w3c.dom.Element actual)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class XMLMismatchException


Copyright © 2007. All Rights Reserved.