please use proper namespace - THX
Should be
````\OC\Share\Exception\InvalidItemException````