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

#include <exceptions.h>

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

Public Member Functions

 InvalidSlotIdHeapPage (SlotId slot_id)
 Constructor. More...
 
 ~InvalidSlotIdHeapPage () throw ()
 Destructor.
 
SlotId getSlotId () const throw ()
 Returns the invalid SlotId. 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

SlotId slot_id
 

Additional Inherited Members

- Protected Attributes inherited from SwatDBException
std::string message
 

Detailed Description

HeapPage Exceptions. InvalidSlotIdHeapPage is thrown by HeapPage if SlotId is invalid.

Constructor & Destructor Documentation

◆ InvalidSlotIdHeapPage()

InvalidSlotIdHeapPage::InvalidSlotIdHeapPage ( SlotId  slot_id)
explicit

Constructor.

Parameters
slot_id.Invalid SlotId.

Member Function Documentation

◆ getSlotId()

SlotId InvalidSlotIdHeapPage::getSlotId ( ) const
throw (
)

Returns the invalid SlotId.

Returns
Invalid SlotId.

Member Data Documentation

◆ slot_id

SlotId InvalidSlotIdHeapPage::slot_id
private

Invalid SlotId.


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