goldman.graph
Class GraphException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
goldman.graph.GraphException
- All Implemented Interfaces:
- Serializable
public class GraphException
- extends RuntimeException
The GraphException
is thrown when a graph algorithm is called on
the incorrect type of graph. As just one example, if an algorithm that is only defined for
a directed graph is called an undirected graph then a GraphException
is thrown.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
GraphException
public GraphException(String msg)