package rpi.goldsd.graph; /** * The PathDoesNotExistException class represents an exception that * should be thrown when a method fails because a path does not exist. * As an example, refer to the findShortestPath() method. * * @see Algorithms * @version 2.0, 4/16/98 * @author David Goldschmidt */ public class PathDoesNotExistException extends RuntimeException { /** * The default constructor simply calls the default constructor * of the parent class RuntimeException. */ public PathDoesNotExistException() { 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 PathDoesNotExistException( String s ) { super( s ); } }