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
StockFileError Class Reference

Specific, inherit from FileError from utils. More...

#include <StockException.h>

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

Public Member Functions

 StockFileError (const std::string &namestock, const FileError &fError)
 similar, best alternative can be build with any FileError derivative More...
 
 StockFileError (const std::string &namestock, const std::string &tmscl, const std::string &indic_label, const FileError &fError)
 
virtual const char * what () const noexcept
 for getting the message with standard interface
do not throw exception More...
 
- Public Member Functions inherited from StockException
 StockException ()
 
 StockException (const std::string &namestock)
 
 StockException (const std::string &namestock, const std::string &message)
 
 StockException (const std::string &namestock, const std::string &tmscl, const std::string &indicator)
 
 ~StockException () throw ()
 
std::string GetMessage () const
 allow GUIException to get the message More...
 
void AddHeaderMessage ()
 indic_label is optional More...
 
- Public Member Functions inherited from FileError
 FileError (const std::string &fileIn)
 
 FileError (const std::string &fileIn, const std::string(msg))
 
 ~FileError () throw ()
 
std::string getFileName () const
 

Additional Inherited Members

- Protected Attributes inherited from StockException
std::string mNameStock
 general enought to be in base class More...
 
std::string mTimescale
 
std::string mIndic
 
std::string mStockMsg
 used by base class More...
 
- Protected Attributes inherited from FileError
std::string mFile
 
std::string mFileMsg
 

Detailed Description

Specific, inherit from FileError from utils.

Allow to reuse FileError and specializing for Stock

Definition at line 97 of file StockException.h.

Constructor & Destructor Documentation

StockFileError::StockFileError ( const std::string &  namestock,
const FileError fError 
)

similar, best alternative can be build with any FileError derivative

Definition at line 57 of file StockException.cpp.

References StockException::AddHeaderMessage(), StockException::mStockMsg, and FileError::what().

Here is the call graph for this function:

StockFileError::StockFileError ( const std::string &  namestock,
const std::string &  tmscl,
const std::string &  indic_label,
const FileError fError 
)

Definition at line 70 of file StockException.cpp.

References StockException::AddHeaderMessage(), StockException::mStockMsg, and FileError::what().

Here is the call graph for this function:

Member Function Documentation

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

for getting the message with standard interface
do not throw exception

Reimplemented from FileError.

Definition at line 108 of file StockException.h.

References StockException::what().

Referenced by Stock::LoadCSVData().

Here is the call graph for this function:

Here is the caller graph for this function:


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