An exception that is thrown when a new entry to be inserted in the hash table is already present in it. More...
#include <hash_already_present_exception.h>
Public Member Functions | |
HashAlreadyPresentException (const std::string &nameIn, PageId pageNoIn, FrameId frameNoIn) | |
Protected Attributes | |
const std::string & | name |
const PageId | pageNo |
const FrameId | frameNo |
An exception that is thrown when a new entry to be inserted in the hash table is already present in it.
Definition at line 20 of file hash_already_present_exception.h.
wiscdb::HashAlreadyPresentException::HashAlreadyPresentException | ( | const std::string & | nameIn, |
PageId | pageNoIn, | ||
FrameId | frameNoIn | ||
) | [explicit] |
Constructs a hash already present exception for the given file.
Definition at line 15 of file hash_already_present_exception.cpp.
const FrameId wiscdb::HashAlreadyPresentException::frameNo [protected] |
Frame number in buffer pool
Definition at line 41 of file hash_already_present_exception.h.
const std::string& wiscdb::HashAlreadyPresentException::name [protected] |
Name of file that caused this exception.
Definition at line 31 of file hash_already_present_exception.h.
const PageId wiscdb::HashAlreadyPresentException::pageNo [protected] |
Page number in file
Definition at line 36 of file hash_already_present_exception.h.