26 template <
typename T_>
27 inline std::string tostring (
const T_ & src)
29 std::ostringstream out;
35 #define _HERE_ (std::string(__PRETTY_FUNCTION__) + " at " + \
36 std::string(__FILE__) + ":" +tostring(__LINE__))
120 virtual const std::string&
what(
void);
CException(const std::string &where, const std::string &error_msg)
Class constructor.
virtual const std::string & what(void)
Function to get the error message.
virtual ~CException()
Class destructor.
std::string error_msg
Exception error message.