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

#include <exceptions.h>

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

Public Member Functions

 InvalidFileIdHeapFile (FileId file_id)
 Constructor. More...
 
 ~InvalidFileIdHeapFile () throw ()
 Destructor.
 
FileId getFileId () const throw ()
 Returns the invalid FileId. 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

FileId file_id
 

Additional Inherited Members

- Protected Attributes inherited from SwatDBException
std::string message
 

Detailed Description

HeapFile Exceptions. InvalidFileIdHeapFile is thrown by Heapfile if FileId does not match that of the HeapFile.

Constructor & Destructor Documentation

◆ InvalidFileIdHeapFile()

InvalidFileIdHeapFile::InvalidFileIdHeapFile ( FileId  file_id)
explicit

Constructor.

Parameters
file_id.Invalid FileId.

Member Function Documentation

◆ getFileId()

FileId InvalidFileIdHeapFile::getFileId ( ) const
throw (
)

Returns the invalid FileId.

Returns
Invalid FileId.

Member Data Documentation

◆ file_id

FileId InvalidFileIdHeapFile::file_id
private

Invalid FileId.


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