Missing header.
authorScott Cantor <cantor.2@osu.edu>
Mon, 22 Oct 2007 01:44:25 +0000 (01:44 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 22 Oct 2007 01:44:25 +0000 (01:44 +0000)
fastcgi/shibauthorizer.cpp
fastcgi/shibresponder.cpp

index e7e4b24..db811b4 100644 (file)
@@ -23,6 +23,7 @@
 #include <saml/saml.h>\r
 #include <shib-target/shib-target.h>\r
 \r
+#include <stdexcept>\r
 #include <stdlib.h>\r
 #ifdef HAVE_UNISTD_H\r
 # include <unistd.h>\r
@@ -57,7 +58,7 @@ public:
             server_port = strtol(server_port_str, &server_port_str, 10);\r
             if (*server_port_str) {\r
                 cerr << "can't parse SERVER_PORT (" << FCGX_GetParam("SERVER_PORT", req->envp) << ")" << endl;\r
-                throw exception("Unable to determine server port.");\r
+                throw runtime_error("Unable to determine server port.");\r
             }\r
         }\r
 \r
index a03daff..d0ea558 100644 (file)
@@ -23,6 +23,7 @@
 #include <saml/saml.h>\r
 #include <shib-target/shib-target.h>\r
 \r
+#include <stdexcept>\r
 #include <stdlib.h>\r
 #ifdef HAVE_UNISTD_H\r
 # include <unistd.h>\r