wisc_db
file_exists_exception.cpp
1 
8 #include "file_exists_exception.h"
9 
10 #include <sstream>
11 #include <string>
12 
13 namespace wiscdb {
14 
16  : WiscDbException(""), filename_(name) {
17  std::stringstream ss;
18  ss << "File already exists: " << filename_;
19  message_.assign(ss.str());
20 }
21 
22 }
Definition: buffer.h:14
FileExistsException(const std::string &name)
Base class for all WiscDB-specific exceptions.