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