net.sf.xmlmatcher.rex
Class RexMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sf.xmlmatcher.exc.MatcherException
net.sf.xmlmatcher.exc.XMLMismatchException
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)
|
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 |
RexMismatchException
public RexMismatchException(java.lang.String message,
org.w3c.dom.Element template,
org.w3c.dom.Element actual,
java.util.List<Position> candidates)
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.