An exception that is thrown when a page which is expected to be pinned in the buffer pool is found to be not pinned. More...
#include <page_not_pinned_exception.h>
Public Member Functions | |
PageNotPinnedException (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 page which is expected to be pinned in the buffer pool is found to be not pinned.
Definition at line 20 of file page_not_pinned_exception.h.
|
explicit |
Constructs a page not pinned exception for the given file.
Definition at line 15 of file page_not_pinned_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 page_not_pinned_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 page_not_pinned_exception.h.
|
protected |
Page number in file
Definition at line 36 of file page_not_pinned_exception.h.