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

#include <exceptions.h>

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

Public Member Functions

 InvalidPageIdBufMgr (PageId page_id)
 Constructor. More...
 
 ~InvalidPageIdBufMgr () throw ()
 Destructor.
 
PageId getPageId () const throw ()
 Returns the invalid PageId. 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

BufferManager Exceptions InvalidPageIdBufMgr is thrown by BufferManager if PageId is invalid.

Constructor & Destructor Documentation

◆ InvalidPageIdBufMgr()

InvalidPageIdBufMgr::InvalidPageIdBufMgr ( PageId  page_id)
explicit

Constructor.

Parameters
page_id.Invalid PageId.

Member Function Documentation

◆ getPageId()

PageId InvalidPageIdBufMgr::getPageId ( ) const
throw (
)

Returns the invalid PageId.

Returns
Invalid PageId.

Member Data Documentation

◆ page_id

PageId InvalidPageIdBufMgr::page_id
private

Invalid PageId.


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