summaryrefslogtreecommitdiff
path: root/cpp/src/IceXML/StreamI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceXML/StreamI.cpp')
-rw-r--r--cpp/src/IceXML/StreamI.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/IceXML/StreamI.cpp b/cpp/src/IceXML/StreamI.cpp
index 916a61aaff6..f7060c18b98 100644
--- a/cpp/src/IceXML/StreamI.cpp
+++ b/cpp/src/IceXML/StreamI.cpp
@@ -1196,7 +1196,9 @@ IceXML::StreamI::readObject(const string& name, const string& signatureType, con
if(!value)
{
- throw ::Ice::NoObjectFactoryException(__FILE__, __LINE__);
+ ::Ice::NoObjectFactoryException ex(__FILE__, __LINE__);
+ ex.type = type;
+ throw ex;
}
}