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

#include <exceptions.h>

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

Public Member Functions

 InvalidFileTypeFileMgr (CatType file_type)
 Constructor. More...
 
 ~InvalidFileTypeFileMgr () throw ()
 Destructor.
 
CatType getFileType () const throw ()
 Returns the PageId of the pinned Page. 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

CatType type
 

Additional Inherited Members

- Protected Attributes inherited from SwatDBException
std::string message
 

Detailed Description

FileManager Exceptions InvalidFileTypeFileMgr is thrown by FileManager if file type is inconsistent.

Constructor & Destructor Documentation

◆ InvalidFileTypeFileMgr()

InvalidFileTypeFileMgr::InvalidFileTypeFileMgr ( CatType  file_type)
explicit

Constructor.

Parameters
file_type.File type of the file.

Member Function Documentation

◆ getFileType()

CatType InvalidFileTypeFileMgr::getFileType ( ) const
throw (
)

Returns the PageId of the pinned Page.

Returns
PageId of the pinned Page.

Member Data Documentation

◆ type

CatType InvalidFileTypeFileMgr::type
private

Invalid file type.


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