Package com.tonic.analysis.query.parser
Class ParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.tonic.analysis.query.parser.ParseException
-
- All Implemented Interfaces:
Serializable
public class ParseException extends Exception
Exception thrown when query parsing fails.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParseException(String message, int position)Creates a parse failure; the position is appended to the message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPosition()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ParseException
public ParseException(String message, int position)
Creates a parse failure; the position is appended to the message.- Parameters:
message- what went wrongposition- the character offset in the query text
-
-