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

#include <exceptions.h>

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

Public Member Functions

 FileAlreadyExistDiskMgr (const std::string &file)
 Constructor. More...
 
 ~FileAlreadyExistDiskMgr () throw ()
 Destructor.
 
std::string getFileName () const throw ()
 Returns the file name of the file that already exists.
 
- 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

std::string file_name
 

Additional Inherited Members

- Protected Attributes inherited from SwatDBException
std::string message
 

Detailed Description

FileAlreadyExistDiskMgr is thrown by DiskManager if Unix file already exists.

Constructor & Destructor Documentation

◆ FileAlreadyExistDiskMgr()

FileAlreadyExistDiskMgr::FileAlreadyExistDiskMgr ( const std::string &  file)
explicit

Constructor.

Parameters
file.File name of the file that already exists.

Member Data Documentation

◆ file_name

std::string FileAlreadyExistDiskMgr::file_name
private

File name.


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