net.sf.xmlmatcher.rex
Class RexMismatchException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MissingContentException, UnexpectedElementException

public abstract class RexMismatchException
extends XMLMismatchException

Input does not match to Regex template

See Also:
Serialized Form

Constructor Summary
RexMismatchException(java.lang.String message, org.w3c.dom.Element template, org.w3c.dom.Element actual, java.util.List<Position> candidates)
           
 
Method Summary
 java.util.List<Position> getCandidates()
           
static java.lang.String printCandidatePaths(java.util.List<Position> candidates)
           
static java.lang.String printCandidates(java.util.List<Position> candidates)
           
 
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

RexMismatchException

public RexMismatchException(java.lang.String message,
                            org.w3c.dom.Element template,
                            org.w3c.dom.Element actual,
                            java.util.List<Position> candidates)
Method Detail

getCandidates

public java.util.List<Position> getCandidates()
Returns:
[nullable] list of expected Positions

printCandidates

public static java.lang.String printCandidates(java.util.List<Position> candidates)

printCandidatePaths

public static java.lang.String printCandidatePaths(java.util.List<Position> candidates)


Copyright © 2007. All Rights Reserved.