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

Constructor Index

 o InAnotherGraphException()
The default constructor simply calls the default constructor of the parent class RuntimeException.
 o InAnotherGraphException(String)
This constructor calls the corresponding constructor of the parent class RuntimeException with the String argument to be displayed.

Constructors

 o InAnotherGraphException
 public InAnotherGraphException()
The default constructor simply calls the default constructor of the parent class RuntimeException.

 o 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