30#ifndef __CLAW_EXCEPTION_HPP__
31#define __CLAW_EXCEPTION_HPP__
58 const char*
what()
const throw() {
return m_msg.c_str(); }
62 const std::string m_msg;
90#define CLAW_EXCEPTION( m ) \
91 claw::exception( std::string(__FUNCTION__) + ": " + m )
A simple class to use as exception with string message.
exception(const std::string &msg)
Constructor.
const char * what() const
Get a short description of the problem.
This is the main namespace.