summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-05-11 15:49:54 +0000
committerBenoit Foucher <benoit@zeroc.com>2007-05-11 15:49:54 +0000
commitc4fbce133717c70527ee6d690ad278e428a84d96 (patch)
tree4628107f97ae1bf641987657695bb16a9c24ef8a /cpp/src
parentFixed bug 2206 (diff)
downloadice-c4fbce133717c70527ee6d690ad278e428a84d96.tar.bz2
ice-c4fbce133717c70527ee6d690ad278e428a84d96.tar.xz
ice-c4fbce133717c70527ee6d690ad278e428a84d96.zip
Fixed bug 2153
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/BasicStream.cpp12
-rw-r--r--cpp/src/Ice/Exception.cpp11
2 files changed, 0 insertions, 23 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp
index 3ffadc78573..b8fb3035d27 100644
--- a/cpp/src/Ice/BasicStream.cpp
+++ b/cpp/src/Ice/BasicStream.cpp
@@ -274,18 +274,6 @@ IceInternal::BasicStream::ReadEncaps::swap(ReadEncaps& other)
std::swap(previous, other.previous);
}
-void
-IceInternal::BasicStream::checkReadEncaps()
-{
- assert(_currentReadEncaps);
- Container::size_type start = _currentReadEncaps->start;
- Int sz = _currentReadEncaps->sz;
- if(i != b.begin() + start + sz)
- {
- throw EncapsulationException(__FILE__, __LINE__);
- }
-}
-
Int
IceInternal::BasicStream::getReadEncapsSize()
{
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index 9c79f13c947..dfa9e70b471 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -575,17 +575,6 @@ Ice::StringConversionException::ice_print(ostream& out) const
}
void
-Ice::EncapsulationException::ice_print(ostream& out) const
-{
- Exception::ice_print(out);
- out << ":\nprotocol error: illegal encapsulation";
- if(!reason.empty())
- {
- out << ":\n" << reason;
- }
-}
-
-void
Ice::NegativeSizeException::ice_print(ostream& out) const
{
Exception::ice_print(out);