001    /*
002     * Copyright 2007, 2012 Stephen Fisher and Junhyong Kim, University of
003     * Pennsylvania.
004     *
005     * This file is part of Glo-DB.
006     * 
007     * Glo-DB is free software: you can redistribute it and/or modify it
008     * under the terms of the GNU General Public License as published by
009     * the Free Software Foundation, either version 3 of the License, or
010     * (at your option) any later version.
011     * 
012     * Glo-DB is distributed in the hope that it will be useful, but
013     * WITHOUT ANY WARRANTY; without even the implied warranty of
014     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015     * General Public License for more details.
016     * 
017     * You should have received a copy of the GNU General Public License
018     * along with Glo-DB. If not, see <http://www.gnu.org/licenses/>.
019     *
020     * @(#)GloDBException.java
021     */
022    
023    package edu.upenn.gloDB;
024    
025    /**
026     * A wrapper for all GloDB exceptions.
027     *
028     * @author  Stephen Fisher
029     * @version $Id: GloDBException.java,v 1.1.2.4 2007/03/01 21:17:32 fisher Exp $
030     */
031    
032    public class GloDBException extends RuntimeException {
033    
034             /** Create a new GloDBException without a message. */
035             public GloDBException() { 
036                      // GloDBUtils.printMsg("GloDBException");
037                      // super.printStackTrace();
038                      super();
039        }
040    
041             /** Create a new GloDBException with a message. */
042             public GloDBException(String message) { 
043                      super(message);
044        }
045    } // GloDBException.java
046