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:
java.io.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.

Version:
$Id: UnknownPositionException.java,v 1.2 2002-11-29 16:42:54 mike Exp $
See Also:
Serialized Form

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

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