ShogunException.h

Go to the documentation of this file.
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 
00014 namespace shogun
00015 {
00019 class ShogunException {
00020     public:
00025         ShogunException(const char* str);
00026 
00029         virtual ~ShogunException();
00030 
00035         inline const char* get_exception_string() { return val; }
00036 
00037     private:
00039         char* val;
00040 };
00041 }
00042 #endif // _SHOGUN_EXCEPTION_H_

SHOGUN Machine Learning Toolbox - Documentation