15 #ifndef STOCKEXCEPT_H_
16 #define STOCKEXCEPT_H_
23 #include "../utils/UtilsExceptions.h"
50 std::cout <<
"Constructor StockException Base with no argument " << std::endl;
58 StockException(
const std::string & namestock,
const std::string & tmscl,
const std::string & indicator );
68 virtual const char *
what() const noexcept {
103 StockFileError (
const std::string & namestock,
const std::string & tmscl,
104 const std::string & indic_label,
const FileError & fError );
108 virtual const char *
what() const noexcept {
127 std::cout <<
"Constructor StockTALibError " << std::endl;
131 virtual const char *
what() const noexcept {
148 mStockMsg =
"Stock : " + namestock +
"\nPythonError : " + message;
150 virtual const char *
what() const noexcept {
155 #endif //STOCKEXCEPT_H_
StockFileError(const std::string &namestock, const FileError &fError)
similar, best alternative can be build with any FileError derivative
Specific, inherit from FileError from utils.
virtual const char * what() const noexcept
virtual const char * what() const noexcept
std::string mStockMsg
used by base class
StockPythonException(const std::string &namestock, const std::string &message)
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
Specific for TALib part of the code.
Centralize all exception coming form the TALib library interface.
virtual const char * what() const noexcept
virtual const char * what() const noexcept
std::string GetMessage() const
allow GUIException to get the message
Base class for exception coming from talibapi interface.
Specific the wrapper python.
std::string mNameStock
general enought to be in base class
StockTALibError(const TALibException &fError)
StockException(const std::string &namestock, const std::string &message)