jdsl.graph.algo
Class InvalidQueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jdsl.graph.api.GraphException
jdsl.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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidQueryException
public InvalidQueryException(String message)
InvalidQueryException
public InvalidQueryException(String message,
Throwable cause)
InvalidQueryException
public InvalidQueryException(Throwable cause)