BadgerDB
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Friends
Pages
afs
cs.wisc.edu
u
h
a
haiyun
private
cs564-spr17
projects
p3
Btree
src
exceptions
bad_index_info_exception.cpp
1
8
#include "bad_index_info_exception.h"
9
10
#include <sstream>
11
#include <string>
12
13
namespace
badgerdb {
14
15
BadIndexInfoException::BadIndexInfoException
(
const
std::string& reason)
16
:
BadgerDbException
(
""
), reason_(reason) {
17
std::stringstream ss;
18
ss <<
"Bad Index Info read: "
<<
reason_
;
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::BadIndexInfoException::BadIndexInfoException
BadIndexInfoException(const std::string &reason)
Definition:
bad_index_info_exception.cpp:15
badgerdb::BadIndexInfoException::reason_
const std::string & reason_
Definition:
bad_index_info_exception.h:38
Generated on Mon Feb 20 2017 08:22:53 for BadgerDB by
1.8.6