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

#include <exceptions.h>

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

Public Member Functions

 FileIdAlreadyExistDiskMgr (FileId file_id)
 Constructor. More...
 
 ~FileIdAlreadyExistDiskMgr () throw ()
 Destructor.
 
FileId getFileId () const throw ()
 Returns the FileId of the file that already exists. 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

FileIdAlreadyExistDiskMgr is thrown by DiskManager if the file identified by FileId already exists.

Constructor & Destructor Documentation

◆ FileIdAlreadyExistDiskMgr()

FileIdAlreadyExistDiskMgr::FileIdAlreadyExistDiskMgr ( FileId  file_id)
explicit

Constructor.

Parameters
file_id.FileId of the file that already exists.

Member Function Documentation

◆ getFileId()

FileId FileIdAlreadyExistDiskMgr::getFileId ( ) const
throw (
)

Returns the FileId of the file that already exists.

Returns
FileId of the file that already exists.

Member Data Documentation

◆ file_id

FileId FileIdAlreadyExistDiskMgr::file_id
private

FileId of the file that already exists.


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