00001 #ifndef OBT_Exception_H 00002 #define OBT_Exception_H 00003 00004 #include <stdexcept> 00005 00006 namespace OBT 00007 { 00015 class OBT_Exception : public std::runtime_error 00016 { 00017 public: 00018 00024 OBT_Exception( const char* error = "OBT Exception" ) : std::runtime_error( error ) 00025 { 00026 } 00027 } ; 00028 } 00029 #endif //OBT_Exception_H