Package ptolemy.graph
Class GraphElementException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ptolemy.graph.GraphException
-
- ptolemy.graph.GraphElementException
-
- All Implemented Interfaces:
java.io.Serializable
public class GraphElementException extends GraphException
The exception of accessing graph elements in wrong ways. This exception could be caused by accessing nonexistent elements or elements with incorrect association values.- Since:
- Ptolemy II 2.1
- Version:
- $Id$
- Author:
- Mingyung Ko, Shuvra S. Bhattacharyya
- See Also:
- Serialized Form
- Pt.AcceptedRating:
- Red (ssb)
- Pt.ProposedRating:
- Red (myko)
-
-
Constructor Summary
Constructors Constructor Description GraphElementException(java.lang.String message)
Constructor for a given message.GraphElementException(Element element, Graph graph, java.lang.String message)
Constructor with arguments of element, graph, and a message.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkEdge(Edge edge, Graph graph)
Verify that an edge is in the container graph.static void
checkNode(Node node, Graph graph)
Verify that a node is in the container graph.-
Methods inherited from class ptolemy.graph.GraphException
_elementDump, elementDump, graphDump, weightDump
-
-