Public Member Functions | Protected Attributes | Friends | List of all members
JournalException Class Reference

An exception class that automatically includes stack dump information. More...

#include <journalexception.h>

Inheritance diagram for JournalException:
Inheritance graph
[legend]

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
 

Detailed Description

An exception class that automatically includes stack dump information.

Definition at line 78 of file journalexception.h.

Constructor & Destructor Documentation

◆ JournalException()

JournalException::JournalException ( std::string const &  message)

Constructor, copies the message and creates a stack dump.

Definition at line 91 of file journalexception.cpp.

◆ ~JournalException()

JournalException::~JournalException ( )
throw (
)
inline

Definition at line 82 of file journalexception.h.

Member Function Documentation

◆ msg()

const char * JournalException::msg ( ) const

The message as supplied to the constructor.

Definition at line 101 of file journalexception.cpp.

◆ stack()

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.

Friends And Related Function Documentation

◆ JournalExceptionStackWalker

friend class JournalExceptionStackWalker
friend

Definition at line 89 of file journalexception.h.

Member Data Documentation

◆ m_stack

std::string JournalException::m_stack
protected

A string that contains a stack dump.

Definition at line 88 of file journalexception.h.


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


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21