BadgerDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
file_not_found_exception.cpp
1 
8 #include "file_not_found_exception.h"
9 
10 #include <sstream>
11 #include <string>
12 
13 namespace badgerdb {
14 
16  : BadgerDbException(""), filename_(name) {
17  std::stringstream ss;
18  ss << "File not found: " << filename_;
19  message_.assign(ss.str());
20 }
21 
22 }
Base class for all BadgerDB-specific exceptions.
FileNotFoundException(const std::string &name)