FileException Class Reference

This class manage file exception. More...

#include <FileException.h>

Inherits Exception.

Inherited by FileNotFoundException, and ParseException.

Inheritance diagram for FileException:

Inheritance graph
[legend]
Collaboration diagram for FileException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FileException () throw ()
 Default constructor.
virtual ~FileException () throw ()
 Destructor.
virtual std::string makeDescription ()=0
virtual std::string makeReason ()=0
virtual std::string makeOrigin (std::string sOrigin)=0
virtual std::string getNameOfTheFile ()
virtual void setNameOfTheFile (std::string sNameOfTheFile)

Private Attributes

std::string _sNameOfTheFile

Detailed Description

This class manage file exception.

Definition at line 18 of file FileException.h.


Constructor & Destructor Documentation

FileException::FileException  )  throw ()
 

Default constructor.

Definition at line 16 of file FileException.cpp.

00017 {
00018 
00019 }

FileException::~FileException  )  throw () [virtual]
 

Destructor.

Definition at line 23 of file FileException.cpp.

00024 {
00025 
00026 }


Member Function Documentation

std::string FileException::getNameOfTheFile  )  [virtual]
 

Definition at line 29 of file FileException.cpp.

References _sNameOfTheFile.

Referenced by FileNotFoundException::makeDescription().

00030 {
00031         return _sNameOfTheFile;
00032 }

virtual std::string FileException::makeDescription  )  [pure virtual]
 

Implements Exception.

Implemented in FileNotFoundException, and ParseException.

virtual std::string FileException::makeOrigin std::string  sOrigin  )  [pure virtual]
 

Implements Exception.

Implemented in FileNotFoundException, and ParseException.

virtual std::string FileException::makeReason  )  [pure virtual]
 

Implements Exception.

Implemented in FileNotFoundException, and ParseException.

void FileException::setNameOfTheFile std::string  sNameOfTheFile  )  [virtual]
 

Definition at line 35 of file FileException.cpp.

References _sNameOfTheFile.

00036 {
00037         _sNameOfTheFile = sNameOfTheFile;
00038 }


Member Data Documentation

std::string FileException::_sNameOfTheFile [private]
 

Definition at line 40 of file FileException.h.

Referenced by getNameOfTheFile(), and setNameOfTheFile().


The documentation for this class was generated from the following files:
Generated on Fri Jul 10 10:32:15 2009 for Utils Library by  doxygen 1.4.5