Package ptolemy.graph

Class 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$
    Author:
    Mingyung Ko
    See Also:
    Serialized Form
    Pt.AcceptedRating:
    Red (ssb)
    Pt.ProposedRating:
    Red (myko)
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphStateException​(java.lang.String message)
      Constructor with an argument of text description.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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.