MeDiPack  1.2.2
A Message Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
exceptions.hpp File Reference
#include <cstdio>
#include <cstdarg>
Include dependency graph for exceptions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  medi
 Global namespace for MeDiPack - Message Differentiation Package.
 

Macros

#define MEDI_EXCEPTION(...)   medi::outputException( __func__, __FILE__, __LINE__, __VA_ARGS__)
 Generates an exception. More...
 

Functions

void medi::outputException (const char function[], const char file[], const int line, const char *message,...)
 Prints the positions and the message of the exception. More...
 

Macro Definition Documentation

◆ MEDI_EXCEPTION

#define MEDI_EXCEPTION (   ...)    medi::outputException( __func__, __FILE__, __LINE__, __VA_ARGS__)

Generates an exception.

Parameters
...Arguments for a printf like output and format.