diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-04-25 18:25:05 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-04-25 18:25:05 +0000 |
commit | 8399fc0295b7c1e00de0c57604d355ea20887d2c (patch) | |
tree | 9b581d27da5a6ff0a9e187b972db4c0b69f7a209 /cpp/src/IceSSL/PluginI.cpp | |
parent | adding generated directory (diff) | |
download | ice-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.cpp | 6 |
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"); |