org.z3950.zing.cql
Class CQLParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
CQLParseException(String s, int pos)
          Creates a new CQLParseException.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

getPosition

public int getPosition()
Character position of the parsing error.

Returns:


Copyright © 2008-2014 Index Data. All Rights Reserved.