diff options
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r-- | cpp/src/Ice/Exception.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp index 9faa0bddc71..968f9d3edbc 100644 --- a/cpp/src/Ice/Exception.cpp +++ b/cpp/src/Ice/Exception.cpp @@ -77,7 +77,7 @@ throwUOE(const string& expectedType, const ValuePtr& v) UnknownSlicedValue* usv = dynamic_cast<UnknownSlicedValue*>(v.get()); if(usv) { - throw NoValueFactoryException(__FILE__, __LINE__, "", usv->getUnknownTypeId()); + throw NoValueFactoryException(__FILE__, __LINE__, "", usv->ice_id()); } string type = v->ice_id(); @@ -127,6 +127,12 @@ Ice::UserException::ice_clone() const } #endif +Ice::SlicedDataPtr +Ice::UserException::ice_getSlicedData() const +{ + return ICE_NULLPTR; +} + void Ice::UserException::_write(::Ice::OutputStream* os) const { |