org.z3950.zing.cql
Class UnknownRelationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.z3950.zing.cql.PQFTranslationException
              extended by org.z3950.zing.cql.UnknownRelationException
All Implemented Interfaces:
java.io.Serializable

public class UnknownRelationException
extends PQFTranslationException

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,v 1.2 2002-11-06 20:13:45 mike Exp $
See Also:
Serialized Form

Constructor Summary
UnknownRelationException(java.lang.String s)
          Creates a new UnknownRelationException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownRelationException

public UnknownRelationException(java.lang.String s)
Creates a new UnknownRelationException.

Parameters:
s - The relation for which there was no PQF configuration.