nz.ac.waikato.jdsl.graph.algo
Class InvalidQueryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by nz.ac.waikato.jdsl.graph.api.GraphException
                  extended by nz.ac.waikato.jdsl.graph.algo.InvalidQueryException
All Implemented Interfaces:
java.io.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
See Also:
Serialized Form

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

InvalidQueryException

public InvalidQueryException(java.lang.String message)

InvalidQueryException

public InvalidQueryException(java.lang.String message,
                             java.lang.Throwable cause)

InvalidQueryException

public InvalidQueryException(java.lang.Throwable cause)


Copyright © 2009 ModelJUnit Project. All Rights Reserved.