Class CycleFoundException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by
              extended by
                  extended by
All Implemented Interfaces:

public class CycleFoundException
extends QueryException

This class models a cycle exception for Prolog and BLPs, that can be thrown by the inference algorithm when a cycle is detected.

Matthias Thimm
See Also:
Serialized Form

Constructor Summary
CycleFoundException(Knowledgebase knowledgebase)
          Constructs a new exception.
CycleFoundException(PrologProgram prolog)
          Constructs a new exception.
CycleFoundException(java.lang.String message)
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


public CycleFoundException(Knowledgebase knowledgebase)
Constructs a new exception.


public CycleFoundException(PrologProgram prolog)
Constructs a new exception.


public CycleFoundException(java.lang.String message)