1 // $Id: UnknownRelationException.java,v 1.2 2002-11-06 20:13:45 mike Exp $
3 package org.z3950.zing.cql;
4 import java.lang.Exception;
8 * Exception indicating that a relation was not recognised.
9 * At compilation time, we accept any syntactically valid relation;
10 * but when rendering a tree out as PQF, we need to translate the
11 * relations 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.
15 * @version $Id: UnknownRelationException.java,v 1.2 2002-11-06 20:13:45 mike Exp $
17 public class UnknownRelationException extends PQFTranslationException {
19 * Creates a new <TT>UnknownRelationException</TT>.
21 * The relation for which there was no PQF configuration.
23 public UnknownRelationException(String s) {