BadgerDB
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Friends
Pages
afs
cs.wisc.edu
u
h
a
haiyun
private
cs564-spr17
projects
p2
BufMgr
src
exceptions
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
15
FileNotFoundException::FileNotFoundException
(
const
std::string& name)
16
:
BadgerDbException
(
""
), filename_(name) {
17
std::stringstream ss;
18
ss <<
"File not found: "
<<
filename_
;
19
message_
.assign(ss.str());
20
}
21
22
}
badgerdb::BadgerDbException::message_
std::string message_
Definition:
badgerdb_exception.h:64
badgerdb::BadgerDbException
Base class for all BadgerDB-specific exceptions.
Definition:
badgerdb_exception.h:18
badgerdb::FileNotFoundException::filename_
const std::string & filename_
Definition:
file_not_found_exception.h:38
badgerdb::FileNotFoundException::FileNotFoundException
FileNotFoundException(const std::string &name)
Definition:
file_not_found_exception.cpp:15
Generated on Fri Feb 10 2017 12:39:55 for BadgerDB by
1.8.6