summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/TrustManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/TrustManager.cpp')
-rw-r--r--cpp/src/IceSSL/TrustManager.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/IceSSL/TrustManager.cpp b/cpp/src/IceSSL/TrustManager.cpp
index 82b3f15ee2c..cd31365a427 100644
--- a/cpp/src/IceSSL/TrustManager.cpp
+++ b/cpp/src/IceSSL/TrustManager.cpp
@@ -54,11 +54,10 @@ TrustManager::TrustManager(const Ice::CommunicatorPtr& communicator) :
}
}
}
- catch(const ParseException& e)
+ catch(const ParseException& ex)
{
- Ice::PluginInitializationException ex(__FILE__, __LINE__);
- ex.reason = "IceSSL: invalid property " + key + ":\n" + e.reason;
- throw ex;
+ throw Ice::PluginInitializationException(__FILE__, __LINE__, "IceSSL: invalid property " + key + ":\n" +
+ ex.reason);
}
}