From 8f00317567dab4c825a0eca76a9cae7951edd11f Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 6 Dec 2011 14:15:52 +0100 Subject: Clean up the way connections are handled. --- server/src/transactionhandler.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'server/src/transactionhandler.h') diff --git a/server/src/transactionhandler.h b/server/src/transactionhandler.h index 43ecf0b..914c9ad 100644 --- a/server/src/transactionhandler.h +++ b/server/src/transactionhandler.h @@ -28,18 +28,12 @@ #ifndef __PRACRO_TRANSACTIONHANDLER_H__ #define __PRACRO_TRANSACTIONHANDLER_H__ +#include + #include "transaction.h" #include "session.h" #include "environment.h" -#include "exception.h" - -class NotFoundException : public Exception { -public: - NotFoundException(Request &r) - : Exception("Macro " + r.macro + " not found in template " + r.templ) {} -}; - std::string handleTransaction(Request &resuest, Transaction &transaction, Environment &env, -- cgit v1.2.3