FREEDM DGI
FreedmExceptions.hpp
Go to the documentation of this file.
1 
25 #ifndef FREEDM_EXCEPTIONS_HPP
26 #define FREEDM_EXCEPTIONS_HPP
27 
28 #include <stdexcept>
29 
30 namespace freedm {
31 namespace broker {
32 
35  : virtual std::runtime_error
36 {
37  explicit EDgiConfigError(const std::string& what)
38  : std::runtime_error(what) { }
39 };
40 
42  : virtual std::runtime_error
43 {
44  explicit EDgiNoSuchPeerError(const std::string& what)
45  : std::runtime_error(what) { }
46 };
47 
48 
49 }
50 }
51 
52 #endif
53 
STL namespace.
Used when the DGI has been misconfigured.
Definition: FreedmExceptions.hpp:34
EDgiConfigError(const std::string &what)
Definition: FreedmExceptions.hpp:37
EDgiNoSuchPeerError(const std::string &what)
Definition: FreedmExceptions.hpp:44
General FREEDM Namespace.
Definition: CBroker.cpp:53
Definition: FreedmExceptions.hpp:41