/**
 * Copyright 2008-2009 DRIVER PROJECT (ICM UW)
 * Original author: Marek Horst
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// $Id: UnknownRelationException.java 5865 2008-05-20 13:34:23Z icmdriver $

package org.z3950.zing.cql;


/**
 * Exception indicating that a relation was not recognised.
 * At compilation time, we accept any syntactically valid relation;
 * but when rendering a tree out as PQF, we need to translate the
 * relations 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: UnknownRelationException.java 5865 2008-05-20 13:34:23Z icmdriver $
 */
@SuppressWarnings("serial")
public class UnknownRelationException extends PQFTranslationException {
    /**
     * Creates a new <TT>UnknownRelationException</TT>.
     * @param s
     *	The relation for which there was no PQF configuration.
     */
    public UnknownRelationException(String s) {
	super(s);
    }
}
