Defines | Functions
errorhandler.hpp File Reference
#include "../BasicDatatypes.hpp"
#include <stdexcept>
Include dependency graph for errorhandler.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define printInfoMessage(a, b)   (b ? infoMessage(a, b):doNothing())


void dieWithError (std::string errorMessage)
void doNothing ()
void infoMessage (std::string message, bool print=true)
void printError (std::string message)
void printWarning (std::string message)

Define Documentation

#define printInfoMessage (   a,
)    (b ? infoMessage(a, b):doNothing())


Definition at line 13 of file errorhandler.hpp.

Function Documentation

void dieWithError ( std::string  errorMessage)

Fehler-"behandlung": Schreibe die Fehlermeldung und beende das Programm.

Definition at line 27 of file errorhandler.cpp.

void doNothing ( )

Der Name ist Programm...

Definition at line 19 of file errorhandler.cpp.

void infoMessage ( std::string  message,
bool  print 

Info-Text auf die Ausgabe schreiben.

Definition at line 45 of file errorhandler.cpp.

void printError ( std::string  message)

Definition at line 87 of file errorhandler.cpp.

void printWarning ( std::string  message)

Definition at line 69 of file errorhandler.cpp.

Author(s): SICK AG , Martin G√ľnther , Jochen Sprickerhof
autogenerated on Wed Jun 14 2017 04:04:50