ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes
FileError Class Reference

Base class for error handling with files. More...

#include <UtilsExceptions.h>

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

Public Member Functions

 FileError (const std::string &fileIn)
 
 FileError (const std::string &fileIn, const std::string(msg))
 
 ~FileError () throw ()
 
virtual const char * what () const noexcept
 for getting the message with standard interface
do not throw exception More...
 
std::string getFileName () const
 

Protected Attributes

std::string mFile
 
std::string mFileMsg
 

Detailed Description

Base class for error handling with files.

Definition at line 27 of file UtilsExceptions.h.

Constructor & Destructor Documentation

FileError::FileError ( const std::string &  fileIn)
inline

Definition at line 39 of file UtilsExceptions.h.

FileError::FileError ( const std::string &  fileIn,
const std::  stringmsg 
)
inline

Definition at line 44 of file UtilsExceptions.h.

FileError::~FileError ( )
throw (
)
inline

Definition at line 47 of file UtilsExceptions.h.

Member Function Documentation

std::string FileError::getFileName ( ) const
inline

Definition at line 53 of file UtilsExceptions.h.

References mFile.

virtual const char* FileError::what ( ) const
inlinevirtualnoexcept

for getting the message with standard interface
do not throw exception

Reimplemented in StockFileError.

Definition at line 50 of file UtilsExceptions.h.

References mFileMsg.

Referenced by StockFileError::StockFileError().

Here is the caller graph for this function:

Field Documentation

std::string FileError::mFile
protected

Definition at line 57 of file UtilsExceptions.h.

Referenced by getFileName().

std::string FileError::mFileMsg
protected

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