Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.adaptx.xpath.XPathException
org.exolab.adaptx.xpath.engine.ParseException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionParseException(String expr, String message) Creates a new ParseException with the given message.ParseException(String expr, String message, int columnNumber) Creates a new ParseException with the given message. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the column number at which the parse error occured.Returns the detail message for this ExceptiontoString()Return the String representation of this ExceptionMethods inherited from class XPathException
getException, printStackTrace, printStackTrace, printStackTraceMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Constructor Details
-
ParseException
-
ParseException
-
-
Method Details
-
getMessage
Returns the detail message for this Exception- Overrides:
getMessagein classThrowable- 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
-