WiscDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
hash_not_found_exception.cpp
00001 
00008 #include "hash_not_found_exception.h"
00009 
00010 #include <sstream>
00011 #include <string>
00012 
00013 namespace wiscdb {
00014 
00015 HashNotFoundException::HashNotFoundException(const std::string& nameIn, PageId pageNoIn)
00016     : WiscDbException(""), name(nameIn), pageNo(pageNoIn) {
00017   std::stringstream ss;
00018   ss << "The hash value is not present in the hash table for file: " << name << "page: " << pageNo;
00019   message_.assign(ss.str());
00020 }
00021 
00022 }
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends