package rpi.goldsd.graph; /** * The VertexNotFoundException class represents an exception that * should be thrown when a method fails because a required vertex was not * found. * * @version 2.0, 3/28/98 * @author David Goldschmidt */ public class VertexNotFoundException extends RuntimeException { /** * The default constructor simply calls the default constructor * of the parent class RuntimeException. */ public VertexNotFoundException() { super(); } /** * This constructor calls the corresponding constructor of the * parent class RuntimeException with the String argument * to be displayed. * @param s the String object to be displayed. */ public VertexNotFoundException( String s ) { super( s ); } }