SwatDB
Public Member Functions | Private Attributes | List of all members
PageNotFoundBufMgr Class Reference

#include <exceptions.h>

Inheritance diagram for PageNotFoundBufMgr:
Inheritance graph
[legend]
Collaboration diagram for PageNotFoundBufMgr:
Collaboration graph
[legend]

Public Member Functions

 PageNotFoundBufMgr (PageId page_id)
 Constructor. More...
 
 ~PageNotFoundBufMgr () throw ()
 Destructor.
 
PageId getPageId () const throw ()
 Returns the PageId of the Page not found. More...
 
- Public Member Functions inherited from SwatDBException
 SwatDBException (const std::string &msg)
 
virtual ~SwatDBException () throw ()
 
virtual const char * what () const throw ()
 Returns the error message of the exception. More...
 

Private Attributes

PageId page_id
 

Additional Inherited Members

- Protected Attributes inherited from SwatDBException
std::string message
 

Detailed Description

PageNotFoundBufMgr is thrown by BufferManager if PageId is not found in bufferpool.

Constructor & Destructor Documentation

◆ PageNotFoundBufMgr()

PageNotFoundBufMgr::PageNotFoundBufMgr ( PageId  page_id)
explicit

Constructor.

Parameters
page_id.PageId of the Page not found.

Member Function Documentation

◆ getPageId()

PageId PageNotFoundBufMgr::getPageId ( ) const
throw (
)

Returns the PageId of the Page not found.

Returns
PageId of the Page not found.

Member Data Documentation

◆ page_id

PageId PageNotFoundBufMgr::page_id
private

PageId of the Page not in buffer pool.


The documentation for this class was generated from the following file: