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

#include <exceptions.h>

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

Public Member Functions

 FileAlreadyExistCat (const std::string &filename)
 Constructor. More...
 
 ~FileAlreadyExistCat () throw ()
 Destructor.
 
std::string getFileName () const throw ()
 Returns the File name 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

std::string file_name
 

Additional Inherited Members

- Protected Attributes inherited from SwatDBException
std::string message
 

Detailed Description

Catalog Exceptions. FileAlreadyExistCat is thrownn by Catalog on index or relation create if the underlying file name for the index or relation is already used.

Constructor & Destructor Documentation

◆ FileAlreadyExistCat()

FileAlreadyExistCat::FileAlreadyExistCat ( const std::string &  filename)
explicit

Constructor.

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

Member Function Documentation

◆ getFileName()

std::string FileAlreadyExistCat::getFileName ( ) const
throw (
)

Returns the File name of the file that already exists.

Returns
File name of the file that already exists.

Member Data Documentation

◆ file_name

std::string FileAlreadyExistCat::file_name
private

File name of the already existing file.


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