summaryrefslogtreecommitdiff
path: root/cpp/test/IceSSL/loadPEM/LoadPEM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceSSL/loadPEM/LoadPEM.cpp')
-rw-r--r--cpp/test/IceSSL/loadPEM/LoadPEM.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/test/IceSSL/loadPEM/LoadPEM.cpp b/cpp/test/IceSSL/loadPEM/LoadPEM.cpp
index 6bbf7d2f58e..5185bce3df3 100644
--- a/cpp/test/IceSSL/loadPEM/LoadPEM.cpp
+++ b/cpp/test/IceSSL/loadPEM/LoadPEM.cpp
@@ -38,7 +38,7 @@ testExpectCertificateAndPrivateKeyLoadException(const Ice::CommunicatorPtr& comm
{
std::cout << "ok" << std::endl;
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
//
// Any other exception is bad.
@@ -73,7 +73,7 @@ testExpectPrivateKeyLoadException(const Ice::CommunicatorPtr& communicator, cons
{
std::cout << "ok" << std::endl;
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
//
// Any other exception is bad.
@@ -108,7 +108,7 @@ testExpectCertificateLoadException(const Ice::CommunicatorPtr& communicator, con
{
std::cout << "ok" << std::endl;
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
//
// Any other exception is bad.
@@ -143,7 +143,7 @@ testExpectCertificateKeyMatchException(const Ice::CommunicatorPtr& communicator,
{
std::cout << "ok" << std::endl;
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
//
// Any other exception is bad.
@@ -174,7 +174,7 @@ testNoException(const Ice::CommunicatorPtr& communicator, const std::string& con
sslPlugin->configure(IceSSL::Client);
std::cout << "ok" << std::endl;
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
//
// Any other exception is bad.