39f4927a67d1a056020e5f9530e6fb79c3ed0584
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / UnknownPositionException.java
1 // $Id: UnknownPositionException.java,v 1.1 2002-11-06 20:13:45 mike Exp $
2
3 package org.z3950.zing.cql;
4 import java.lang.Exception;
5
6
7 /**
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>anchored</TT> or <TT>unanchored</TT>, depending on whether it
11  * begins with the word-anchoring meta-character <TT>^</TT>, and 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
14  * these babies.
15  *
16  * @version $Id: UnknownPositionException.java,v 1.1 2002-11-06 20:13:45 mike Exp $
17  */
18 public class UnknownPositionException extends PQFTranslationException {
19     /**
20      * Creates a new <TT>UnknownPositionException</TT>.
21      * @param s
22      *  The position for which there was no PQF configuration.
23      */
24     public UnknownPositionException(String s) {
25         super(s);
26     }
27 }