27 #include "../../../../common/STLUtils.h" 28 #include "../../../../core/translator/Translator.h" 29 #include "../../Exception.h" 37 #include <boost/format.hpp> 47 throw Exception(
TE_TR(
"Can not insert a NULL data source type into the manager!"));
50 throw Exception((boost::format(
TE_TR(
"There is already a data source type with the given id (%1%) in data source manager!")) % dst->
getName()).str());
Base exception class for plugin module.
V * GetPValue(const std::map< K, V * > &m, const K &k)
It finds for a given key in the map and returns a pointer if something is found or NULL otherwise...
#define TE_TR(message)
It marks a string in order to get translated.