BadgerDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
hash_not_found_exception.h
1 
8 #pragma once
9 
10 #include <string>
11 
12 #include "badgerdb_exception.h"
13 #include "types.h"
14 
15 namespace badgerdb {
16 
21  public:
25  explicit HashNotFoundException(const std::string& nameIn, PageId pageNoIn);
26 
27  protected:
31  const std::string& name;
32 
36  const PageId pageNo;
37 };
38 
39 }
Base class for all BadgerDB-specific exceptions.
std::uint32_t PageId
Identifier for a page in a file.
Definition: types.h:15
HashNotFoundException(const std::string &nameIn, PageId pageNoIn)
An exception that is thrown when an entry being looked up in the hash table is not present in it...