f1fc9f319cebfe349ef85a7eddc5016bbc942bce
[cql-java-moved-to-github.git] / src / main / java / org / z3950 / zing / cql / UnknownPositionException.java
1 // $Id: UnknownPositionException.java,v 1.2 2002-11-29 16:42:54 mike Exp $
2
3 package org.z3950.zing.cql;
4
5
6 /**
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
14  * these babies.
15  *
16  * @version $Id: UnknownPositionException.java,v 1.2 2002-11-29 16:42:54 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 }