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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/modules/IcePy/Util.cpp b/python/modules/IcePy/Util.cpp
index 5182e373212..b40d9f3dcfb 100644
--- a/python/modules/IcePy/Util.cpp
+++ b/python/modules/IcePy/Util.cpp
@@ -14,7 +14,7 @@
#include <IceUtil/DisableWarnings.h>
#include <Ice/LocalException.h>
#include <Ice/Protocol.h>
-#include <IceUtil/UUID.h>
+#include <Ice/UUID.h>
#include <Slice/PythonUtil.h>
#include <compile.h>
#include <frameobject.h>
@@ -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);
@@ -1158,6 +1158,6 @@ extern "C"
PyObject*
IcePy_generateUUID(PyObject* /*self*/)
{
- string uuid = IceUtil::generateUUID();
+ string uuid = Ice::generateUUID();
return IcePy::createString(uuid);
}