7eabe752f26b422bd151630eed5c292c7116950e
[cql-java-moved-to-github.git] / src / main / java / org / z3950 / zing / cql / UnknownIndexException.java
1 // $Id: UnknownIndexException.java,v 1.2 2007-06-27 22:44:40 mike Exp $
2
3 package org.z3950.zing.cql;
4
5
6 /**
7  * Exception indicating that an index was not recognised.
8  * At compilation time, we accept any syntactically valid index;
9  * but when rendering a tree out as PQF, we need to translate the
10  * indexes into sets of Type-1 query attributes.  If we can't do
11  * that, because the PQF configuration doesn't know about a relation,
12  * we throw one of these babies.
13  *
14  * @version $Id: UnknownIndexException.java,v 1.2 2007-06-27 22:44:40 mike Exp $
15  */
16 public class UnknownIndexException extends PQFTranslationException {
17     /**
18      * Creates a new <TT>UnknownIndexException</TT>.
19      * @param s
20      *  The index for which there was no PQF configuration.
21      */
22     public UnknownIndexException(String s) {
23         super(s);
24     }
25 }