fipa_services
Namespaces | Macros
ErrorHandling.hpp File Reference
#include <string>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 fipa
 
 fipa::services
 

Macros

#define FIPA_SERVICE_EXCEPTION(NAME, BASE_MSG)
 

Macro Definition Documentation

#define FIPA_SERVICE_EXCEPTION (   NAME,
  BASE_MSG 
)
Value:
class NAME : public std::runtime_error {\
public: \
NAME() : std::runtime_error(BASE_MSG) \
{}; \
NAME(const std::string& msg) : std::runtime_error(BASE_MSG + msg) \
{}; \
};