001 /* 002 * CRIMSON 003 * Copyright (c) 2006, Stephen Fisher, Susan Davidson, and Junhyong Kim, 004 * University of Pennsylvania. 005 * 006 * This program is free software; you can redistribute it and/or 007 * modify it under the terms of the GNU General Public License as 008 * published by the Free Software Foundation; either version 2 of the 009 * License, or (at your option) any later version. 010 * 011 * This program is distributed in the hope that it will be useful, but 012 * WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 014 * General Public License for more details. 015 * 016 * You should have received a copy of the GNU General Public License 017 * along with this program; if not, write to the Free Software 018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 019 * 02110-1301 USA. 020 * 021 * @(#)CrimsonException.java 022 */ 023 024 package edu.upenn.crimson; 025 026 /** 027 * A wrapper for all Crimson exceptions. 028 * 029 * @author Stephen Fisher 030 * @version $Id: CrimsonException.java,v 1.3 2007/05/16 18:55:58 fisher Exp $ 031 */ 032 033 public class CrimsonException extends RuntimeException { 034 035 /** Create a new CrimsonException without a message. */ 036 public CrimsonException() { 037 // CrimsonUtils.printMsg("CrimsonException"); 038 // super.printStackTrace(); 039 super(); 040 } 041 042 /** Create a new CrimsonException with a message. */ 043 public CrimsonException(String message) { 044 super(message); 045 } 046 } // CrimsonException.java 047