org.finra.jtaf.core.parsing.exceptions
Class MultipleMatchesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.finra.jtaf.core.parsing.exceptions.ParsingException
org.finra.jtaf.core.parsing.exceptions.MultipleMatchesException
- All Implemented Interfaces:
- Serializable
public class MultipleMatchesException
- extends ParsingException
This is thrown when we expect an XPath query to return one value
but it returns several values.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MultipleMatchesException
public MultipleMatchesException(String xpath)
- Parameters:
xpath
- The XPath that is giving multiple matches
getXPath
public final String getXPath()
- Parameters:
xpath
- The XPath that is giving multiple matches
Copyright © 2014. All rights reserved.