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:
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.

See Also:
Serialized Form

Constructor Summary
UnknownRelationException(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(String s)
Creates a new UnknownRelationException.

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


Copyright © 2008-2014 Index Data. All Rights Reserved.