diff options
Diffstat (limited to 'src/Core/ConnectionManager.h')
-rw-r--r-- | src/Core/ConnectionManager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Core/ConnectionManager.h b/src/Core/ConnectionManager.h index ba029ec..be9beb9 100644 --- a/src/Core/ConnectionManager.h +++ b/src/Core/ConnectionManager.h @@ -27,6 +27,7 @@ #include <poll.h> #include "DaemonInfo.h" +#include <Common/Exception.h> #include <Common/RequestManager.h> namespace Mad { @@ -82,8 +83,8 @@ class ConnectionManager { void run(); - Net::Connection* getDaemonConnection(const std::string &name) const; - void identifyDaemonConnection(Net::Connection *connection, const std::string &name); + Net::Connection* getDaemonConnection(const std::string &name) const throw (Common::Exception&); + void identifyDaemonConnection(Net::Connection *connection, const std::string &name) throw (Common::Exception&); std::map<std::string,DaemonInfo> getDaemonList() const; }; |