ptolemy.graph
Class GraphStateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byptolemy.graph.GraphException
                  extended byptolemy.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,v 1.15 2004/04/13 03:40:31 cxh Exp $
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.
 
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.