goldman.graph
Class GraphException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
GraphException(String msg)
           
 
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

GraphException

public GraphException(String msg)