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

#include <exceptions.h>

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

Public Member Functions

 PageNotPinnedBufMgr (PageId page_id)
 Constructor. More...
 
 ~PageNotPinnedBufMgr () throw ()
 Destructor.
 
PageId getPageId () const throw ()
 Returns the PageId of the Page not pinned. 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

PageNotPinnedBufMgr is thrown by BufferManager if Page is not pinned.

Constructor & Destructor Documentation

◆ PageNotPinnedBufMgr()

PageNotPinnedBufMgr::PageNotPinnedBufMgr ( PageId  page_id)
explicit

Constructor.

Parameters
page_id.PageId of the Page that is not pinned.

Member Function Documentation

◆ getPageId()

PageId PageNotPinnedBufMgr::getPageId ( ) const
throw (
)

Returns the PageId of the Page not pinned.

Returns
PageId of the Page not pinned.

Member Data Documentation

◆ page_id

PageId PageNotPinnedBufMgr::page_id
private

PageId of the Page not pinned.


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