errorhandler.hpp
Go to the documentation of this file.
00001 
00005 #ifndef ERRORHANDLER_HPP
00006 #define ERRORHANDLER_HPP
00007 
00008 
00009 #include "../BasicDatatypes.hpp"
00010 #include <stdexcept>    // for throw
00011 
00012 
00013 #define printInfoMessage(a, b)  (b ? infoMessage(a, b):doNothing())
00014 
00015 // Fehler-"behandlung": Schreibe die Fehlermeldung und beende das Programm.
00016 void dieWithError(std::string errorMessage);
00017 
00018 void infoMessage(std::string message, bool print = true);
00019 
00020 void printWarning(std::string message);
00021 
00022 void printError(std::string message);
00023 
00024 void doNothing();
00025 
00026 #endif // ERRORHANDLER_HPP


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