diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-08-10 06:21:15 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-08-10 06:21:15 +0000 |
commit | d5a4351a37f557328676d531a358a87226cde4bf (patch) | |
tree | b961b822700dffa8f2bf803eee37d7946e6ceee5 /cppe/src/IceE/Connection.cpp | |
parent | renamed CompressionNotSupportexception to FeatureNotSupportedException. (diff) | |
download | ice-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-x | cppe/src/IceE/Connection.cpp | 4 |
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; |