1 // $Id: UnknownPositionException.java,v 1.2 2002-11-29 16:42:54 mike Exp $
3 package org.z3950.zing.cql;
4 import java.lang.Exception;
8 * Exception indicating that a position was not recognised.
9 * When rendering a tree out as PQF, each term is classified either as
10 * <TT>any</TT>, <TT>first</TT>, <TT>last</TT> or
11 * <TT>firstAndLast</TT>, depending on whether it begins and/or ends
12 * with the word-anchoring meta-character <TT>^</TT>. Its
13 * classification is looked up as a <TT>position</TT> in the PQF
14 * configuration. If the position is not configured, we throw one of
17 * @version $Id: UnknownPositionException.java,v 1.2 2002-11-29 16:42:54 mike Exp $
19 public class UnknownPositionException extends PQFTranslationException {
21 * Creates a new <TT>UnknownPositionException</TT>.
23 * The position for which there was no PQF configuration.
25 public UnknownPositionException(String s) {