9d449b5c8377685bfa2b5aa3bbb41c602780bc28
[cql-java-moved-to-github.git] / src / main / java / org / z3950 / zing / cql / UnknownRelationModifierException.java
1 // $Id: UnknownRelationModifierException.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 relation modifier was not recognised.
9  * At compilation time, we accept any syntactically valid relation modifier;
10  * but when rendering a tree out as PQF, we need to translate the
11  * relation modifiers into sets of Type-1 query attributes.  If we can't do
12  * that, because the PQF configuration doesn't know about a relation modifier,
13  * we throw one of these babies.
14  *
15  * @version $Id: UnknownRelationModifierException.java,v 1.1 2002-11-06 20:13:45 mike Exp $
16  */
17 public class UnknownRelationModifierException extends PQFTranslationException {
18     /**
19      * Creates a new <TT>UnknownRelationModifierException</TT>.
20      * @param s
21      *  The relation modifier for which there was no PQF configuration.
22      */
23     public UnknownRelationModifierException(String s) {
24         super(s);
25     }
26 }