Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends XPathException
The main exception thrown when an Error occurs while parsing an XPath expression
Version:
$Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (Sat, 01 Mar 2003) $
Author:
Keith Visco
See Also:
  • Constructor Details

    • ParseException

      public ParseException(String expr, String message)
      Creates a new ParseException with the given message.
      Parameters:
      message - the detail message for this Exception
    • ParseException

      public ParseException(String expr, String message, int columnNumber)
      Creates a new ParseException with the given message.
      Parameters:
      message - the detail message for this Exception
  • Method Details

    • getMessage

      public String getMessage()
      Returns the detail message for this Exception
      Overrides:
      getMessage in class Throwable
      Returns:
      the detail message for this Exception
    • getColumnNumber

      public int getColumnNumber()
      Returns the column number at which the parse error occured.
      Returns:
      the column number at which the parse error occured, or -1, if no column number was specified.
    • toString

      public String toString()
      Return the String representation of this Exception
      Overrides:
      toString in class Throwable
      Returns:
      the String representation of this Exception