From e10639753d7dbd368f5edc2555d75c4b5905ba3b Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 21 Nov 2011 13:27:53 -0800 Subject: GeneralException() will now trace the callstack and store this, for debugging purposes. --- includes/HttpServer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/HttpServer.h') diff --git a/includes/HttpServer.h b/includes/HttpServer.h index f78a816..51c119c 100644 --- a/includes/HttpServer.h +++ b/includes/HttpServer.h @@ -27,7 +27,7 @@ class HttpServer { void unref() { if (Atomic::Decrement(&m_refCount) == 0) delete this; } void ref() { Atomic::Increment(&m_refCount); } void registerMe(HttpServer * server) { server->registerAction(this); } - virtual bool Do(HttpServer * server, Http::Request & req, ActionMatch & match, IO out) = 0; + virtual bool Do(HttpServer * server, Http::Request & req, ActionMatch & match, IO out) throw (GeneralException) = 0; private: Regex m_regex, m_host; volatile int m_refCount; -- cgit v1.2.3