00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Written (W) 1999-2009 Soeren Sonnenburg 00008 * Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max-Planck-Society 00009 */ 00010 00011 #ifndef _SHOGUN_EXCEPTION_H_ 00012 #define _SHOGUN_EXCEPTION_H_ 00013 00017 class ShogunException { 00018 public: 00023 ShogunException(const char* str); 00024 00027 virtual ~ShogunException(); 00028 00033 inline const char* get_exception_string() { return val; } 00034 00035 private: 00037 char* val; 00038 }; 00039 00040 #endif // _SHOGUN_EXCEPTION_H_