All Packages Class Hierarchy This Package Previous Next Index
Class rpi.goldsd.graph.InAnotherGraphException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----rpi.goldsd.graph.InAnotherGraphException
- public class InAnotherGraphException
- extends RuntimeException
The InAnotherGraphException class represents an exception that
should be thrown when either a vertex or an edge is in a given graph
G, yet the add() method is used to add the vertex or
edge to a different graph H.
- Version:
- 2.0, 3/28/98
- Author:
- David Goldschmidt
-
InAnotherGraphException()
- The default constructor simply calls the default constructor
of the parent class RuntimeException.
-
InAnotherGraphException(String)
- This constructor calls the corresponding constructor of the
parent class RuntimeException with the String
argument to be displayed.
InAnotherGraphException
public InAnotherGraphException()
- The default constructor simply calls the default constructor
of the parent class RuntimeException.
InAnotherGraphException
public InAnotherGraphException(String s)
- This constructor calls the corresponding constructor of the
parent class RuntimeException with the String
argument to be displayed.
- Parameters:
- s - the String object to be displayed.
All Packages Class Hierarchy This Package Previous Next Index