ROOT_Application
2.0
C++ Core modules and GUIStock
|
Specific, inherit from FileError from utils. More...
#include <StockException.h>
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 |
Specific, inherit from FileError from utils.
Allow to reuse FileError and specializing for Stock
Definition at line 97 of file StockException.h.
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().
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().
|
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().