summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Connection.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-08-10 06:21:15 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-08-10 06:21:15 +0000
commitd5a4351a37f557328676d531a358a87226cde4bf (patch)
treeb961b822700dffa8f2bf803eee37d7946e6ceee5 /cppe/src/IceE/Connection.cpp
parentrenamed CompressionNotSupportexception to FeatureNotSupportedException. (diff)
downloadice-d5a4351a37f557328676d531a358a87226cde4bf.tar.bz2
ice-d5a4351a37f557328676d531a358a87226cde4bf.tar.xz
ice-d5a4351a37f557328676d531a358a87226cde4bf.zip
Calling on a proxy with datagram, batch datagram, secure or batch mode
enabled results in a FeatureNotSupportedException not NoEndpointException.
Diffstat (limited to 'cppe/src/IceE/Connection.cpp')
-rwxr-xr-xcppe/src/IceE/Connection.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cppe/src/IceE/Connection.cpp b/cppe/src/IceE/Connection.cpp
index ad4b5e89bd3..dd1e9cbd7b4 100755
--- a/cppe/src/IceE/Connection.cpp
+++ b/cppe/src/IceE/Connection.cpp
@@ -1251,7 +1251,9 @@ Ice::Connection::parseMessage(BasicStream& stream, Int& requestId
stream.read(compress);
if(compress == 2)
{
- throw CompressionNotSupportedException(__FILE__, __LINE__);
+ FeatureNotSupportedException ex(__FILE__, __LINE__);
+ ex.unsupportedFeature = "compression";
+ throw ex;
}
stream.i = stream.b.begin() + headerSize;