summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-06-20 10:42:48 +0200
committerBenoit Foucher <benoit@zeroc.com>2012-06-20 10:42:48 +0200
commiteddcd80c0a9c29bc7c807db3ccf0e1e3484ac43f (patch)
tree1e4575ae28d98639018bdd23c38a6702d162e6a2 /cpp/src/Ice/Exception.cpp
parent* Grammar fixes (diff)
downloadice-eddcd80c0a9c29bc7c807db3ccf0e1e3484ac43f.tar.bz2
ice-eddcd80c0a9c29bc7c807db3ccf0e1e3484ac43f.tar.xz
ice-eddcd80c0a9c29bc7c807db3ccf0e1e3484ac43f.zip
Don't write optionals with 1.0 encoding, added UnknownSlicedObject test, fixed exception un-marhsalling to raise UnkownUserException for unknown exceptions.
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r--cpp/src/Ice/Exception.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index a205af22a78..6753c597353 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -603,17 +603,6 @@ Ice::NoObjectFactoryException::ice_print(ostream& out) const
}
void
-Ice::NoExceptionFactoryException::ice_print(ostream& out) const
-{
- Exception::ice_print(out);
- out << ":\nprotocol error: no suitable exception factory found for `" << type << "'";
- if(!reason.empty())
- {
- out << ":\n" << reason;
- }
-}
-
-void
Ice::UnexpectedObjectException::ice_print(ostream& out) const
{
Exception::ice_print(out);