8 #include "daq/slc/base/Exception.h"
12 Exception::Exception()
13 : m_comment(
""), m_err(0)
17 Exception::Exception(
const std::string& comment)
18 : m_comment(comment), m_err(0)
22 Exception::Exception(
const std::string& comment,
24 : m_comment(comment), m_err(err)
29 const char* Exception::what() const noexcept
31 const char* Exception::what()
const throw()
34 return m_comment.c_str();
Abstract base class for different kinds of events.