Switch exception class, seems to fail on some gcc versions.
[shibboleth/cpp-sp.git] / fastcgi / shibauthorizer.cpp
index 3d385c2..e7e4b24 100644 (file)
@@ -103,7 +103,7 @@ public:
     }\r
 \r
     virtual string getPostData(void) {\r
-        throw exception("getPostData not implemented by FastCGI authorizer.");\r
+        throw runtime_error("getPostData not implemented by FastCGI authorizer.");\r
     }\r
 \r
     virtual void clearHeader(const string& name) {\r