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    /*
006     * InvalidVertexException.java
007     *
008     * Created on November 14, 2004, 1:23 AM
009     */
010    
011    package graphlab.library.exceptions;
012    
013    /**
014     * @author Omid Aladini
015     */
016    public class InvalidVertexException extends RuntimeException {
017    
018        private static final long serialVersionUID = 3545512928372405814L;
019    
020        /**
021         * Constructs an instance of <code>InvalidVertexException</code>
022         */
023        public InvalidVertexException() {
024            super("You are trying to access or use a vertex that does not exist.");
025        }
026    
027        public InvalidVertexException(String additional) {
028            super("You are trying to access or use a vertex that does not exist:" + additional);
029        }
030    
031    }