Added check on registerObject return value on DataObjectHandle::put
Added check on registerObject return value on DataObjectHandle put.
The return code of registerObject was previously ignored, leading to problems when the registerObject fails (e.g. in the case you put objects several levels down the TES tree without creating the parents, and without the ForceLeaves to true on the EvtDataSvc()), as the error is silently ignored.