org.z3950.zing.cql
Class CQLParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.z3950.zing.cql.CQLParseException
- All Implemented Interfaces:
- Serializable
public class CQLParseException
- extends Exception
Exception indicating that an error ocurred parsing CQL.
- See Also:
- Serialized Form
Method Summary |
int |
getPosition()
Character position of the parsing error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CQLParseException
public CQLParseException(String s,
int pos)
- Creates a new CQLParseException.
- Parameters:
s
- An error message describing the problem with the query,
usually a syntax error of some kind.
getPosition
public int getPosition()
- Character position of the parsing error.
- Returns:
Copyright © 2008-2014 Index Data. All Rights Reserved.