public class GraphException extends RuntimeException { public GraphException() { } // end default constructor public GraphException(String s) { super(s); } // end constructor } // end GraphException