2 namespace TYPO3\CMS\Extbase\Property\TypeConverter;
62 if (empty($this->expectedObjectType) || !$object instanceof $this->expectedObjectType) {
63 throw new \TYPO3\CMS\Extbase\Property\Exception(
'Expected object of type "' . $this->expectedObjectType .
'" but got ' . get_class($object), 1342895975);
67 $subject->setOriginalResource($object);