1 #ifndef _CHANNELMAPEXCEPTION_H 2 #define _CHANNELMAPEXCEPTION_H 10 #define GENERATE_CHANNELMAP_EXCEPTION(msg) \ 11 throw daqchannelmap::ChannelMapException(__FILE__, __LINE__, msg) 34 std::stringstream tmpStream;
39 _fullText =
"DAQChannelMap - Error: " + message +
" at " + fileName +
":" + lineNumber;
47 size = backtrace (array, 10);
48 strings = backtrace_symbols (array, size);
50 for (idx = 0; idx <
size; idx++) {
55 _fullText +=
"\n Stack trace:\n" + tmpStream.str();
68 const char*
what()
const throw() {
::xsd::cxx::tree::exception< char > exception
virtual ~ChannelMapException()
const char * what() const
ChannelMapException(const std::string &fileName, int line, const std::string &message)