summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/PluginI.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-04-25 18:25:05 +0000
committerMark Spruiell <mes@zeroc.com>2006-04-25 18:25:05 +0000
commit8399fc0295b7c1e00de0c57604d355ea20887d2c (patch)
tree9b581d27da5a6ff0a9e187b972db4c0b69f7a209 /cpp/src/IceSSL/PluginI.cpp
parentadding generated directory (diff)
downloadice-8399fc0295b7c1e00de0c57604d355ea20887d2c.tar.bz2
ice-8399fc0295b7c1e00de0c57604d355ea20887d2c.tar.xz
ice-8399fc0295b7c1e00de0c57604d355ea20887d2c.zip
minor cleanup in IceSSL
Diffstat (limited to 'cpp/src/IceSSL/PluginI.cpp')
-rw-r--r--cpp/src/IceSSL/PluginI.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/PluginI.cpp b/cpp/src/IceSSL/PluginI.cpp
index 0ef59204f99..e00993a6af0 100644
--- a/cpp/src/IceSSL/PluginI.cpp
+++ b/cpp/src/IceSSL/PluginI.cpp
@@ -254,15 +254,17 @@ ConnectionInvalidException::ConnectionInvalidException(const char* file, int lin
reason(r)
{
}
+
const string
ConnectionInvalidException::ice_name() const
{
return _name;
}
+
Exception*
ConnectionInvalidException::ice_clone() const
{
- throw new ConnectionInvalidException(*this);
+ return new ConnectionInvalidException(*this);
}
void
@@ -289,7 +291,7 @@ IceSSL::getConnectionInfo(const ConnectionPtr& connection)
throw ConnectionInvalidException(__FILE__, __LINE__, "connection closed");
}
- IceSSL::TransceiverIPtr ssltransceiver = IceSSL::TransceiverIPtr::dynamicCast(con->getTransceiver());
+ TransceiverIPtr ssltransceiver = TransceiverIPtr::dynamicCast(con->getTransceiver());
if(!ssltransceiver)
{
throw ConnectionInvalidException(__FILE__, __LINE__, "not ssl connection");