00001 00008 #include "file_not_found_exception.h" 00009 00010 #include <sstream> 00011 #include <string> 00012 00013 namespace wiscdb { 00014 00015 FileNotFoundException::FileNotFoundException(const std::string& name) 00016 : WiscDbException(""), filename_(name) { 00017 std::stringstream ss; 00018 ss << "File not found: " << filename_; 00019 message_.assign(ss.str()); 00020 } 00021 00022 }