jd.xml.xpath.parser
Class XPathParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjd.xml.xpath.parser.XPathParseException
All Implemented Interfaces:
Serializable

public class XPathParseException
extends Exception

XPathParseException indicates errors when an expression is parsed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
XPathParseException(String expression, int errorOffset, String message)
          Create a XPathParseException.
 
Method Summary
 int getErrorOffset()
          Return the error offset.
 String getExpression()
          Return the expression.
 
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

XPathParseException

public XPathParseException(String expression,
                           int errorOffset,
                           String message)
Create a XPathParseException.

Parameters:
expression - the expression
errorOffset - the offset where the error occurred.
message - a message text
Method Detail

getErrorOffset

public int getErrorOffset()
Return the error offset.


getExpression

public String getExpression()
Return the expression.