From b7013f1be9a5f09ecae4b37f0986352abfcd0dc1 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 22 Feb 2009 07:20:56 +0000 Subject: replaced regular throws with AnytunError::thowErr --- src/routingTree.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/routingTree.hpp') 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; } -- cgit v1.2.3