64 return m_what.c_str() ;
69 if( more != NULL && *more !=
'\0' )
71 m_what += std::string(
": ") ;
72 m_what += std::string(more) ;
80 m_what += std::string(
": ") ;
81 m_what += std::string(more) ;
87 if( context != NULL && *context !=
'\0' )
89 m_what = std::string(context) +
": " + m_what ;
void prepend(const char *context)
Prepends context to the what string.
virtual ~Exception()
Destructor.
Exception()
Default constructor.
void append(const char *more)
Appends 'more' to the what string.
virtual const char * what() const
Override from std::exception.