org.finra.jtaf.core.parsing.exceptions
Class MultipleMatchesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.finra.jtaf.core.parsing.exceptions.ParsingException
              extended by 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

Constructor Summary
MultipleMatchesException(String xpath)
           
 
Method Summary
 String getXPath()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

MultipleMatchesException

public MultipleMatchesException(String xpath)
Parameters:
xpath - The XPath that is giving multiple matches
Method Detail

getXPath

public final String getXPath()
Parameters:
xpath - The XPath that is giving multiple matches


Copyright © 2014. All rights reserved.