Finish (more or less) to CQL-to-PQF translator.
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / UnknownQualifierException.java
index ba43baf..8bad79e 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: UnknownQualifierException.java,v 1.1 2002-11-06 00:05:58 mike Exp $
+// $Id: UnknownQualifierException.java,v 1.2 2002-11-06 20:13:45 mike Exp $
 
 package org.z3950.zing.cql;
 import java.lang.Exception;
@@ -9,12 +9,18 @@ import java.lang.Exception;
  * At compilation time, we accept any syntactically valid qualifier;
  * but when rendering a tree out as PQF, we need to translate the
  * qualifiers into sets of Type-1 query attributes.  If we can't do
- * that, we throw one of these babies.
+ * that, because the PQF configuration doesn't know about a relation,
+ * we throw one of these babies.
  *
- * @version $Id: UnknownQualifierException.java,v 1.1 2002-11-06 00:05:58 mike Exp $
+ * @version $Id: UnknownQualifierException.java,v 1.2 2002-11-06 20:13:45 mike Exp $
  */
-public class UnknownQualifierException extends Exception {
-    UnknownQualifierException(String s) {
+public class UnknownQualifierException extends PQFTranslationException {
+    /**
+     * Creates a new <TT>UnknownQualifierException</TT>.
+     * @param s
+     * The qualifier for which there was no PQF configuration.
+     */
+    public UnknownQualifierException(String s) {
        super(s);
     }
 }