summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'python/modules/IcePy/Util.cpp')
-rw-r--r--python/modules/IcePy/Util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/modules/IcePy/Util.cpp b/python/modules/IcePy/Util.cpp
index 5182e373212..9044df85b04 100644
--- a/python/modules/IcePy/Util.cpp
+++ b/python/modules/IcePy/Util.cpp
@@ -311,7 +311,7 @@ IcePy::PyException::raise()
}
else
{
- PyObjectHandle name = PyObject_CallMethod(ex.get(), STRCAST("ice_name"), 0);
+ PyObjectHandle name = PyObject_CallMethod(ex.get(), STRCAST("ice_id"), 0);
PyErr_Clear();
if(!name.get())
{
@@ -818,7 +818,7 @@ convertLocalException(const Ice::LocalException& ex, PyObject* p)
m = IcePy::createEncodingVersion(e.supported);
PyObject_SetAttrString(p, STRCAST("supported"), m.get());
}
- catch(const Ice::NoObjectFactoryException& e)
+ catch(const Ice::NoValueFactoryException& e)
{
IcePy::PyObjectHandle m;
m = IcePy::createString(e.reason);
@@ -880,7 +880,7 @@ IcePy::convertException(const Ice::Exception& ex)
}
catch(const Ice::LocalException& e)
{
- type = lookupType(scopedToName(e.ice_name()));
+ type = lookupType(scopedToName(e.ice_id()));
if(type)
{
p = createExceptionInstance(type);