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

#include <exceptions.h>

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

Public Member Functions

 InsufficientSpaceDiskMgr (FileId file_id)
 Constructor. More...
 
 ~InsufficientSpaceDiskMgr () throw ()
 Destructor.
 
FileId getFileId () const throw ()
 Returns the FileId of the file with insufficient space. 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

InsufficientSpaceDiskMgr is thrown by DiskManager if there is not enough space in file.

Constructor & Destructor Documentation

◆ InsufficientSpaceDiskMgr()

InsufficientSpaceDiskMgr::InsufficientSpaceDiskMgr ( FileId  file_id)
explicit

Constructor.

Parameters
file_id.FileId of the file with insuffucient space.

Member Function Documentation

◆ getFileId()

FileId InsufficientSpaceDiskMgr::getFileId ( ) const
throw (
)

Returns the FileId of the file with insufficient space.

Returns
FileId of the file with insufficient space.

Member Data Documentation

◆ file_id

FileId InsufficientSpaceDiskMgr::file_id
private

FileId.


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