wibble  1.1
Public Member Functions | Protected Attributes | List of all members
wibble::exception::Context Class Reference

Store context information for an exception. More...

#include <exception.h>

Inheritance diagram for wibble::exception::Context:
Inheritance graph
[legend]

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
 

Detailed Description

Store context information for an exception.

Constructor & Destructor Documentation

◆ Context() [1/2]

wibble::exception::Context::Context ( )
throw (
)
inline

◆ Context() [2/2]

wibble::exception::Context::Context ( const std::string &  context)
throw (
)
inline

Member Function Documentation

◆ addContext()

void wibble::exception::Context::addContext ( const std::string &  c)
throw (
)
inline

◆ context()

const std::vector<std::string>& wibble::exception::Context::context ( ) const
throw (
)
inline

◆ formatContext()

std::string wibble::exception::Context::formatContext ( ) const
throw (
)
inline

Member Data Documentation

◆ m_context

std::vector<std::string> wibble::exception::Context::m_context
protected

The documentation for this class was generated from the following file: