com.japisoft.xpath
Class XPathException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.japisoft.xpath.XPathException
All Implemented Interfaces:
java.io.Serializable

public class XPathException
extends java.lang.Exception

Exception when parsing an XPath expression

Author:
(c) 2003 JAPISoft
See Also:
Exception, Serialized Form

Constructor Summary
XPathException(java.lang.String error, int location)
           
 
Method Summary
 java.lang.String getError()
           
 int getLocation()
           
 
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

XPathException

public XPathException(java.lang.String error,
                      int location)
Method Detail

getError

public java.lang.String getError()
Returns:
an error message

getLocation

public int getLocation()
Returns:
the error location