wisc_db
Main Page
Namespaces
Classes
Files
File List
home
newhall
public
cs44
wiscdb
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
wiscdb
{
14
15
FileNotFoundException::FileNotFoundException
(
const
std::string& name)
16
:
WiscDbException
(
""
), filename_(name) {
17
std::stringstream ss;
18
ss <<
"File not found: "
<<
filename_
;
19
message_
.assign(ss.str());
20
}
21
22
}
wiscdb
Definition:
buffer.h:14
wiscdb::FileNotFoundException::FileNotFoundException
FileNotFoundException(const std::string &name)
Definition:
file_not_found_exception.cpp:15
wiscdb::FileNotFoundException::filename_
const std::string & filename_
Definition:
file_not_found_exception.h:38
wiscdb::WiscDbException
Base class for all WiscDB-specific exceptions.
Definition:
wiscdb_exception.h:18
wiscdb::WiscDbException::message_
std::string message_
Definition:
wiscdb_exception.h:64
Generated by
1.8.11