wibble 0.1.28
|
Store context information for an exception. More...
#include <exception.h>
Public Member Functions | |
Context () throw () | |
Context (const std::string &context) throw () | |
void | addContext (const std::string &c) throw () |
std::string | formatContext () const throw () |
const std::vector< std::string > & | context () const throw () |
Protected Attributes | |
std::vector< std::string > | m_context |
Store context information for an exception.
wibble::exception::Context::Context | ( | ) | throw () [inline] |
References wibble::exception::AddContext::copyContext(), and m_context.
wibble::exception::Context::Context | ( | const std::string & | context | ) | throw () [inline] |
References addContext(), context(), wibble::exception::AddContext::copyContext(), and m_context.
void wibble::exception::Context::addContext | ( | const std::string & | c | ) | throw () [inline] |
const std::vector<std::string>& wibble::exception::Context::context | ( | ) | const throw () [inline] |
std::string wibble::exception::Context::formatContext | ( | ) | const throw () [inline] |
References m_context.
Referenced by TestException::addContext(), and wibble::exception::Generic::fullInfo().
std::vector<std::string> wibble::exception::Context::m_context [protected] |
Referenced by addContext(), context(), Context(), and formatContext().