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

#include <exceptions.h>

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

Public Member Functions

 InvalidPageNumDiskMgr (PageNum page_num)
 Constructor. More...
 
 ~InvalidPageNumDiskMgr () throw ()
 Destructor.
 
PageNum getPageNum () const throw ()
 Returns the invalid PageNum. 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

PageNum page_num
 

Additional Inherited Members

- Protected Attributes inherited from SwatDBException
std::string message
 

Detailed Description

InvalidPageNumDiskMgr is thrown by DiskManager if PageNum is invalid.

Constructor & Destructor Documentation

◆ InvalidPageNumDiskMgr()

InvalidPageNumDiskMgr::InvalidPageNumDiskMgr ( PageNum  page_num)
explicit

Constructor.

Parameters
page_num.Invalid PageNum.

Member Function Documentation

◆ getPageNum()

PageNum InvalidPageNumDiskMgr::getPageNum ( ) const
throw (
)

Returns the invalid PageNum.

Returns
Invalid PageNum.

Member Data Documentation

◆ page_num

PageNum InvalidPageNumDiskMgr::page_num
private

Invalid PageNum.


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