An exception class that automatically includes stack dump information. More...
#include <journalexception.h>
Public Member Functions | |
JournalException (std::string const &message) | |
Constructor, copies the message and creates a stack dump. More... | |
const char * | msg () const |
The message as supplied to the constructor. More... | |
const std::string & | stack () const |
The stack dump as it was at the time of object construction. More... | |
~JournalException () throw () | |
Protected Attributes | |
std::string | m_stack |
A string that contains a stack dump. More... | |
Friends | |
class | JournalExceptionStackWalker |
An exception class that automatically includes stack dump information.
Definition at line 78 of file journalexception.h.
JournalException::JournalException | ( | std::string const & | message | ) |
Constructor, copies the message and creates a stack dump.
Definition at line 91 of file journalexception.cpp.
|
inline |
Definition at line 82 of file journalexception.h.
const char * JournalException::msg | ( | ) | const |
The message as supplied to the constructor.
Definition at line 101 of file journalexception.cpp.
const std::string & JournalException::stack | ( | ) | const |
The stack dump as it was at the time of object construction.
Definition at line 107 of file journalexception.cpp.
|
friend |
Definition at line 89 of file journalexception.h.
|
protected |
A string that contains a stack dump.
Definition at line 88 of file journalexception.h.