Rewrap configuration failures to ensure proper cleanup if thrown from extension libs.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 11 Jan 2006 03:34:54 +0000 (03:34 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 11 Jan 2006 03:34:54 +0000 (03:34 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1929 cb58f699-b61c-0410-a6fe-9272a202ed29

shib-target/shib-ini.cpp

index fff743a..fdc1e0f 100644 (file)
@@ -1307,7 +1307,7 @@ void XMLConfigImpl::init(bool first)
     }
     catch (SAMLException& e) {
         log.errorStream() << "Error while loading SP configuration: " << e.what() << CategoryStream::ENDLINE;
-        throw;
+        throw ConfigurationException(e.what());
     }
 #ifndef _DEBUG
     catch (...) {