summaryrefslogtreecommitdiff
path: root/src/routingTree.hpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-22 07:20:56 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-22 07:20:56 +0000
commitb7013f1be9a5f09ecae4b37f0986352abfcd0dc1 (patch)
treef890c7677d27953afaf05215a9c91a86b23897bd /src/routingTree.hpp
parentfixed signalController on unix (diff)
replaced regular throws with AnytunError::thowErr
Diffstat (limited to 'src/routingTree.hpp')
-rw-r--r--src/routingTree.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/routingTree.hpp b/src/routingTree.hpp
index c75aef5..645b84d 100644
--- a/src/routingTree.hpp
+++ b/src/routingTree.hpp
@@ -32,6 +32,8 @@
#ifndef __ROUTING_TREE_
#define __ROUTING_TREE_
+#include "anytunError.hpp"
+
class RoutingTree {
public:
@@ -91,7 +93,7 @@ public:
}
}
if(!valid)
- throw std::runtime_error("no route");
+ AnytunError::throwErr() << "no route";
return mux;
}