summaryrefslogtreecommitdiff
path: root/node/NodeConfig.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-18 14:16:53 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-18 14:16:53 -0400
commitca93b4a1ac9d07ea150572801fd47f9a0818abff (patch)
tree8ec8916b82baab567a3d9cc66471b866f8ef1809 /node/NodeConfig.hpp
parent03b909603ae6010d7bf059de688c0cfe0f96a0a3 (diff)
downloadinfinitytier-ca93b4a1ac9d07ea150572801fd47f9a0818abff.tar.gz
infinitytier-ca93b4a1ac9d07ea150572801fd47f9a0818abff.zip
Clean up some stuff, including a few spots where exceptions were not being handled correctly.
Diffstat (limited to 'node/NodeConfig.hpp')
-rw-r--r--node/NodeConfig.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/node/NodeConfig.hpp b/node/NodeConfig.hpp
index 12bc32b3..0e7e4c98 100644
--- a/node/NodeConfig.hpp
+++ b/node/NodeConfig.hpp
@@ -63,8 +63,7 @@ public:
* @param controlPort Control port for local control packet I/O
* @throws std::runtime_error Unable to bind to local control port
*/
- NodeConfig(const RuntimeEnvironment *renv,const char *authToken,unsigned int controlPort)
- throw(std::runtime_error);
+ NodeConfig(const RuntimeEnvironment *renv,const char *authToken,unsigned int controlPort);
~NodeConfig();
@@ -143,8 +142,7 @@ public:
* @return One or more transport armored packets (if payload too big)
* @throws std::out_of_range An element of payload is too big
*/
- static std::vector< Buffer<ZT_NODECONFIG_MAX_PACKET_SIZE> > encodeControlMessage(const void *key,unsigned long conversationId,const std::vector<std::string> &payload)
- throw(std::out_of_range);
+ static std::vector< Buffer<ZT_NODECONFIG_MAX_PACKET_SIZE> > encodeControlMessage(const void *key,unsigned long conversationId,const std::vector<std::string> &payload);
/**
* Decode a packet from the control bus