errorhandler.hpp
Go to the documentation of this file.
1 
5 #ifndef ERRORHANDLER_HPP
6 #define ERRORHANDLER_HPP
7 
8 
9 #include "../BasicDatatypes.hpp"
10 #include <stdexcept> // for throw
11 
12 
13 #define printInfoMessage(a, b) (b ? infoMessage(a, b):doNothing())
14 
15 // Fehler-"behandlung": Schreibe die Fehlermeldung und beende das Programm.
16 void dieWithError(std::string errorMessage);
17 
18 void infoMessage(std::string message, bool print = true);
19 
20 void printWarning(std::string message);
21 
22 void printError(std::string message);
23 
24 void doNothing();
25 
26 #endif // ERRORHANDLER_HPP
void printError(std::string message)
void printWarning(std::string message)
void doNothing()
void dieWithError(std::string errorMessage)
void infoMessage(std::string message, bool print=true)


libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Sat Jun 8 2019 17:57:33