13 std::exception(), mNameStock( namestock ), mTimescale(), mStockMsg()
16 std::cout <<
"Constructor Base StockException with namestock " <<
mNameStock << std::endl;
23 std::exception(), mNameStock( namestock ), mTimescale ( tmscl ), mIndic( indic_label)
26 std::cout <<
"Constructor StockException with namestock, timescale, indicator " <<
mNameStock << std::endl;
61 std::cout <<
"StockFileError constructor, namestock and FileError" << std::endl;
62 std::cout <<
"what() form FileError " << fError.
what() << std::endl;
71 const std::string & indic_label,
const FileError & fError ) :
75 std::cout <<
"StockFileError constructor, namestock timescale indic and FileError" << std::endl;
76 std::cout <<
"what() form FileError " << fError.
what() << std::endl;
89 std::cout <<
"Constructor StockTALibError with namestock " << std::endl;
StockFileError(const std::string &namestock, const FileError &fError)
similar, best alternative can be build with any FileError derivative
std::string GetIndicator() const
std::string mStockMsg
used by base class
Base class for error handling with files.
Base Exception for Stock and StockManager, all src_cpp code.
virtual const char * what() const noexcept
for getting the message with standard interface do not throw exception
void AddHeaderMessage()
indic_label is optional
Exception to be used within stock_cpp.
virtual const char * what() const noexcept
Base class for exception coming from talibapi interface.
std::string mNameStock
general enought to be in base class
StockTALibError(const TALibException &fError)