From: mike Date: Wed, 27 Jun 2007 22:41:41 +0000 (+0000) Subject: Renamemv UnknownQualifierException.java to UnknownIndexException.java X-Git-Tag: v1.5~111 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;h=83428299bdec8644fcbea2911d00a6cf18f75bd2;p=cql-java-moved-to-github.git Renamemv UnknownQualifierException.java to UnknownIndexException.java --- diff --git a/src/org/z3950/zing/cql/UnknownIndexException.java b/src/org/z3950/zing/cql/UnknownIndexException.java new file mode 100644 index 0000000..28178a0 --- /dev/null +++ b/src/org/z3950/zing/cql/UnknownIndexException.java @@ -0,0 +1,26 @@ +// $Id: UnknownIndexException.java,v 1.1 2007-06-27 22:41:41 mike Exp $ + +package org.z3950.zing.cql; +import java.lang.Exception; + + +/** + * Exception indicating that an index was not recognised. + * At compilation time, we accept any syntactically valid index; + * but when rendering a tree out as PQF, we need to translate the + * indexes into sets of Type-1 query attributes. If we can't do + * that, because the PQF configuration doesn't know about a relation, + * we throw one of these babies. + * + * @version $Id: UnknownIndexException.java,v 1.1 2007-06-27 22:41:41 mike Exp $ + */ +public class UnknownQualifierException extends PQFTranslationException { + /** + * Creates a new UnknownQualifierException. + * @param s + * The index for which there was no PQF configuration. + */ + public UnknownQualifierException(String s) { + super(s); + } +} diff --git a/src/org/z3950/zing/cql/UnknownQualifierException.java b/src/org/z3950/zing/cql/UnknownQualifierException.java deleted file mode 100644 index 009ef9c..0000000 --- a/src/org/z3950/zing/cql/UnknownQualifierException.java +++ /dev/null @@ -1,26 +0,0 @@ -// $Id: UnknownQualifierException.java,v 1.3 2007-06-27 22:39:55 mike Exp $ - -package org.z3950.zing.cql; -import java.lang.Exception; - - -/** - * Exception indicating that an index was not recognised. - * At compilation time, we accept any syntactically valid index; - * but when rendering a tree out as PQF, we need to translate the - * indexes into sets of Type-1 query attributes. If we can't do - * that, because the PQF configuration doesn't know about a relation, - * we throw one of these babies. - * - * @version $Id: UnknownQualifierException.java,v 1.3 2007-06-27 22:39:55 mike Exp $ - */ -public class UnknownQualifierException extends PQFTranslationException { - /** - * Creates a new UnknownQualifierException. - * @param s - * The index for which there was no PQF configuration. - */ - public UnknownQualifierException(String s) { - super(s); - } -}