001 // GraphLab Project: http://graphlab.sharif.edu 002 // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology 003 // Distributed under the terms of the GNU Lesser General Public License (LGPL): http://www.gnu.org/licenses/ 004 005 package graphlab.library.exceptions; 006 007 /** 008 * @author Omid Aladini 009 */ 010 public class InvalidGraphException extends RuntimeException { 011 012 private static final long serialVersionUID = 4121131454852772150L; 013 014 /** 015 * Constructs an instance of <code>InvalidGraphException</code> 016 */ 017 public InvalidGraphException() { 018 super("Operation on an invalid graph object."); 019 } 020 021 public InvalidGraphException(Throwable cause) { 022 super(cause); 023 } 024 025 public InvalidGraphException(String string) { 026 super(string); 027 } 028 029 }