MIRA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros
Exception.h File Reference

Exception base class. More...

#include <assert.h>
#include <string.h>
#include <exception>
#include <sstream>
#include <list>
#include <error/CallStack.h>
#include <thread/ThreadID.h>
#include <utils/NoExcept.h>
Include dependency graph for Exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Exception
 Base class for exceptions. More...
 
struct  Exception::Info
 The info packet that is added in MIRA_THROW and MIRA_RETHROW. More...
 

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 

Macros

#define MIRA_MAX_CALLSTACK_SIZE   16
 Define for maximum call stack depth. More...
 
#define MIRA_CALLSTACK_START   2
 Start at this position in call stack. More...
 
#define MIRA_THROW(ex, msg)
 Macro for throwing an exception. More...
 
#define MIRA_THROW_NOSTACK(ex, msg)
 Same as MIRA_THROW, except that no stack trace information is stored. More...
 
#define MIRA_THROW_EXTSTACK(ex, msg, stack, thread)
 Same as MIRA_THROW, except that the stack trace information that is stored is provided externally. More...
 
#define MIRA_RETHROW(ex, msg)
 Macro for rethrowing an exception with file and line information and for adding additional information. More...
 
#define MIRA_DEFINE_EXCEPTION(Ex, Base)
 Macro for easily defining a new compatible exception class. More...
 

Detailed Description

Exception base class.

Author
Erik Einhorn, Tim Langner
Date
2010/04/01

Macro Definition Documentation

#define MIRA_MAX_CALLSTACK_SIZE   16

Define for maximum call stack depth.

#define MIRA_CALLSTACK_START   2

Start at this position in call stack.