org.z3950.zing.cql
Class UnknownPositionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.z3950.zing.cql.PQFTranslationException
              extended by org.z3950.zing.cql.UnknownPositionException
All Implemented Interfaces:
Serializable

public class UnknownPositionException
extends PQFTranslationException

Exception indicating that a position was not recognised. When rendering a tree out as PQF, each term is classified either as any, first, last or firstAndLast, depending on whether it begins and/or ends with the word-anchoring meta-character ^. Its classification is looked up as a position in the PQF configuration. If the position is not configured, we throw one of these babies.

See Also:
Serialized Form

Constructor Summary
UnknownPositionException(String s)
          Creates a new UnknownPositionException.
 
Method Summary
 
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

UnknownPositionException

public UnknownPositionException(String s)
Creates a new UnknownPositionException.

Parameters:
s - The position for which there was no PQF configuration.


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