00001 /* 00002 * 00003 * $Id$ 00004 * 00005 * This file is part of the NABOU Intrusion Detection System. 00006 * 00007 * By accessing this software, NABOU, you are duly informed 00008 * of and agree to be bound by the conditions described below 00009 * in this notice: 00010 * 00011 * This software product, NABOU, is developed by Thomas Linden 00012 * and copyrighted (C) 1999-2002 by Thomas Linden, with all 00013 * rights reserved. 00014 * 00015 * There is no charge for NABOU software. You can redistribute 00016 * it and/or modify it under the terms of the GNU General Public 00017 * License, which is incorporated by reference herein. 00018 * 00019 * NABOU is distributed WITHOUT ANY WARRANTY, IMPLIED OR EXPRESS, 00020 * OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE or that 00021 * the use of it will not infringe on any third party's intellec- 00022 * tual property rights. 00023 * 00024 * You should have received a copy of the GNU General Public 00025 * License along with NABOU. Copies can also be obtained from: 00026 * 00027 * http://www.gnu.org/copyleft/gpl.html 00028 * 00029 * or by writing to: 00030 * 00031 * Free Software Foundation, Inc. 00032 * 59 Temple Place, Suite 330 00033 * Boston, MA 02111-1307 00034 * USA 00035 * 00036 * Or contact: 00037 * 00038 * "Thomas Linden" <tom@nabou.org> 00039 * 00040 * 00041 */ 00042 00043 00044 #include "exception.h" 00045 00046 Exception::Exception(const string& msg) { 00047 message = msg; 00048 _name = "Exception"; 00049 } 00050 00051 string Exception::mout() { 00052 return "Caught Exception " + _name + ": " + message; 00053 }