[Zope-CMF] ObjectMoved exception
Kevin Carlson
khcarlso@bellsouth.net
Sun, 21 Apr 2002 23:02:21 -0400
Can anyone explain the third argument to the __init__ function of the
ObjectMoved exception class that is defined in
Products/DCWorkflow/WorkflowCore.py? Here is the code:
class ObjectMoved (Exception):
'''
Raised to tell the workflow tool that the object has moved.
Swallowed by the workflow tool.
'''
def __init__(self, new_ob, result=None):
self._ob = new_ob # Includes acquisition wrappers.
self._r = result
def getResult(self):
return self._r
def getNewObject(self):
return self._ob
It appears that this is a result code of some sort, but I have no idea what
is expected...
Kevin