ptolemy.graph
Class GraphStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ptolemy.graph.GraphException
                  extended by ptolemy.graph.GraphStateException
All Implemented Interfaces:
java.io.Serializable

public class GraphStateException
extends GraphException

The exception of computing a function of graph with wrong states. In some cases, a proper input graph is required to evaluate functions of a graph. Graphs with wrong states lead to invalid results or even making functions incomputable. Some examples of the states are: topology, connectivity, graph type, node/edge counts ...etc. Our design should make it impossible for this exception to ever occur, so occurrence is a bug.

Since:
Ptolemy II 2.1
Version:
$Id: GraphStateException.java 38798 2005-07-08 20:00:01Z cxh $
Author:
Mingyung Ko
See Also:
Serialized Form
Accepted Rating:
Red (ssb)
Proposed Rating:
Red (myko)

Constructor Summary
GraphStateException(java.lang.String message)
          Constructor with an argument of text description.
 
Method Summary
 
Methods inherited from class ptolemy.graph.GraphException
_elementDump, elementDump, graphDump, weightDump
 
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

GraphStateException

public GraphStateException(java.lang.String message)
Constructor with an argument of text description.

Parameters:
message - The exception message.