Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _SHOGUN_EXCEPTION_H_
00012 #define _SHOGUN_EXCEPTION_H_
00013
00014 namespace shogun
00015 {
00019 class ShogunException
00020 {
00021 void init(const char* str);
00022
00023 public:
00028 ShogunException(const char* str);
00029
00034 ShogunException(const ShogunException& orig);
00035
00038 virtual ~ShogunException();
00039
00044 inline const char* get_exception_string() { return val; }
00045
00046 private:
00048 char* val;
00049 };
00050 }
00051 #endif // _SHOGUN_EXCEPTION_H_