00001 #include "InvalidUseException.h" 00002 00003 namespace sqlite 00004 { 00005 00006 InvalidUseException::InvalidUseException(std::string const& msg): 00007 msg(msg) 00008 { 00009 } 00010 00011 InvalidUseException::~InvalidUseException() throw() 00012 { 00013 } 00014 00015 char const* InvalidUseException::what() const throw() 00016 { 00017 return ("Invalid use of sqlite: " + msg).c_str(); 00018 } 00019 00020 }