WiscDB
 All Classes Functions Variables Friends
Public Member Functions | Protected Attributes
wiscdb::HashAlreadyPresentException Class Reference

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>

Inheritance diagram for wiscdb::HashAlreadyPresentException:
wiscdb::WiscDbException

List of all members.

Public Member Functions

 HashAlreadyPresentException (const std::string &nameIn, PageId pageNoIn, FrameId frameNoIn)

Protected Attributes

const std::string & name
const PageId pageNo
const FrameId frameNo

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Data Documentation

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.

Page number in file

Definition at line 36 of file hash_already_present_exception.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends