summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Emitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Emitter.cpp')
-rw-r--r--cpp/src/Ice/Emitter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/Emitter.cpp b/cpp/src/Ice/Emitter.cpp
index 0d7f50d934b..a7817dbfd53 100644
--- a/cpp/src/Ice/Emitter.cpp
+++ b/cpp/src/Ice/Emitter.cpp
@@ -21,6 +21,7 @@
#include <Ice/Exception.h>
#include <Ice/Protocol.h>
#include <Ice/Functional.h>
+#include <Ice/SecurityException.h> // TODO: bandaid, see below.
using namespace std;
using namespace Ice;
@@ -492,6 +493,10 @@ IceInternal::EmitterFactory::create(const vector<EndpointPtr>& endpoints)
{
exception = auto_ptr<LocalException>(dynamic_cast<LocalException*>(ex.ice_clone()));
}
+ catch (const IceSecurity::SecurityException& ex) // TODO: bandaid to make retry w/ ssl work.
+ {
+ exception = auto_ptr<LocalException>(dynamic_cast<LocalException*>(ex.ice_clone()));
+ }
catch (const DNSException& ex)
{
exception = auto_ptr<LocalException>(dynamic_cast<LocalException*>(ex.ice_clone()));