16 #ifndef TORC_GENERIC_ERROR_HPP
17 #define TORC_GENERIC_ERROR_HPP
24 #include <boost/any.hpp>
25 #include <boost/cstdint.hpp>
48 typedef std::map<std::string, boost::any>
Context;
71 inline const std::
string getFile() const;
73 inline const uint32_t
getLine() const;
91 const std::
string& inFile, uint32_t inLine);
96 Error(
MessageId inId, const std::
string& inFunction, const std::
string& inFile,
143 void saveContextData(const std::
string& inName, const boost::any& inSource);
202 #endif // TORC_GENERIC_ERROR_HPP
const std::string getFunction() const
MessageId mErrorMessageId
std::map< std::string, boost::any > Context
The Error object thrown by different methods of EdifOM.
const std::vector< StackFrameInfo > & getStackTrace() const
void saveContextData(const std::string &inName, const boost::any &inSource)
StackFrameInfo(const std::string &inFunction, const std::string &inFile, uint32_t inLine)
const std::string getFile() const
const Context getContextData() const
const MessageId getErrorMessageId() const
const uint32_t getLine() const
std::vector< StackFrameInfo > mStackTrace
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)