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