jdsl.graph.algo
Class InvalidQueryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjdsl.graph.api.GraphException
                  extended byjdsl.graph.algo.InvalidQueryException
All Implemented Interfaces:
Serializable

public class InvalidQueryException
extends GraphException

This exception is currently used only by the two subclasses of AbstractTopologicalSort. It is thrown when number(Vertex) or sortedVertices() are called and the graph is cyclic.

Version:
JDSL 2.1.1
Author:
David Ellis, based on a previous version by Lucy Perry

Constructor Summary
InvalidQueryException(String message)
           
InvalidQueryException(String message, Throwable cause)
           
InvalidQueryException(Throwable cause)
           
 
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

InvalidQueryException

public InvalidQueryException(String message)

InvalidQueryException

public InvalidQueryException(String message,
                             Throwable cause)

InvalidQueryException

public InvalidQueryException(Throwable cause)