minor corrections in exceptions handling

parent 64bc28b1
......@@ -61,7 +61,7 @@ class OperatorPreemptive(Operator):
if callerObject:
thecaller = callerObject
else:
raise NoCallerError('The caller of the MouldAssemblyBuffer must be defined')
raise NoCallerError('The caller must be defined for checkIfResourceCanPreempt')
except NoCallerError as noCaller:
print 'No caller error: {0}'.format(noCaller)
......
......@@ -53,7 +53,7 @@ class QueueManagedJob(QueueJobShop):
if callerObject:
thecaller = callerObject
else:
raise NoCallerError('The caller of the MouldAssemblyBuffer must be defined')
raise NoCallerError('The caller of the QueueManagedJob haveToDispose must be defined')
except NoCallerError as noCaller:
print 'No caller error: {0}'.format(noCaller)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment