00001 #ifndef _SHOGUN_EXCEPTION_H_ 00002 #define _SHOGUN_EXCEPTION_H_ 00003 00005 class ShogunException { 00006 public: 00011 ShogunException(const char* str); 00012 00017 inline const char* get_exception_string() { return val; } 00018 00019 private: 00021 char* val; 00022 }; 00023 00024 #endif // _SHOGUN_EXCEPTION_H_