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) | |
virtual const std::string & | message () const |
virtual const char * | what () const throw () |
Protected Attributes | |
const std::string & | name |
const PageId | pageNo |
const FrameId | frameNo |
std::string | message_ |
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.
|
explicit |
Constructs a hash already present exception for the given file.
Definition at line 15 of file hash_already_present_exception.cpp.
|
inlinevirtualinherited |
Returns a message describing the problem that caused this exception.
Definition at line 38 of file badgerdb_exception.h.
|
inlinevirtualinherited |
Returns a description of the exception.
Definition at line 45 of file badgerdb_exception.h.
|
protected |
Frame number in buffer pool
Definition at line 41 of file hash_already_present_exception.h.
|
protectedinherited |
Message describing the problem that caused this exception.
Definition at line 64 of file badgerdb_exception.h.
|
protected |
Name of file that caused this exception.
Definition at line 31 of file hash_already_present_exception.h.
|
protected |
Page number in file
Definition at line 36 of file hash_already_present_exception.h.