#include <string>
#include <xstypes/xsexception.h>
#include "journaller.h"
#include <signal.h>
#include <cstring>
Go to the source code of this file.
Classes | |
class | JournalException |
An exception class that automatically includes stack dump information. More... | |
Macros | |
#define | JLTHROW(msg) do { std::ostringstream os; os << msg; throw JournalException(os.str()); } while(0) |
Use this macro to throw an exception that includes callstack information. More... | |
#define | JOURNALCRASHES_BEGIN(journal) |
#define | JOURNALCRASHES_END(journal) |
#define | JOURNALCRASHES_SIGNAL_FUNCTIONS |
#define | JOURNALEXCEPTIONS_BEGIN(journal) try { |
#define | JOURNALEXCEPTIONS_END_NOTHROW(journal) |
#define | JOURNALEXCEPTIONS_END_RETHROW(journal) |
Variables | |
bool | gOnExceptionGotoDebugger |
#define JLTHROW | ( | msg | ) | do { std::ostringstream os; os << msg; throw JournalException(os.str()); } while(0) |
Use this macro to throw an exception that includes callstack information.
Definition at line 93 of file journalexception.h.
#define JOURNALCRASHES_BEGIN | ( | journal | ) |
Definition at line 128 of file journalexception.h.
#define JOURNALCRASHES_END | ( | journal | ) |
Definition at line 140 of file journalexception.h.
#define JOURNALCRASHES_SIGNAL_FUNCTIONS |
Definition at line 116 of file journalexception.h.
#define JOURNALEXCEPTIONS_BEGIN | ( | journal | ) | try { |
Definition at line 149 of file journalexception.h.
#define JOURNALEXCEPTIONS_END_NOTHROW | ( | journal | ) |
Definition at line 152 of file journalexception.h.
#define JOURNALEXCEPTIONS_END_RETHROW | ( | journal | ) |
Definition at line 157 of file journalexception.h.
bool gOnExceptionGotoDebugger |
When set to true, any caught exception at the C level will be passed on upward (ie to the debugger) When set to false, the exception handling stops at this level. This only applies to C level exceptions.
Definition at line 121 of file journalexception.cpp.