00001 #include <exception> 00002 #include <string> 00003 00004 namespace sqlite 00005 { 00006 class InvalidUseException : public std::exception 00007 { 00008 public: 00009 InvalidUseException(std::string const& msg); 00010 virtual const char* what() const throw(); 00011 virtual ~InvalidUseException() throw(); 00012 private: 00013 std::string msg; 00014 }; 00015 }