Hallo

ich versuche eine Error-Handling in Extbase fertig zu machen. Nach diese 
Beschreibung:
http://blog.mindscreen.de/2013/404-handling-statt-exception-in-extbase-catching-1297759968/

Allerdings nutze ich Typo3 4.7
public function processRequest(Tx_Extbase_MVC_RequestInterface $request, 
Tx_Extbase_MVC_ResponseInterface $response) {
 Exception- PropertyMapper in typo3 4.7
}

In typo3 6 funktionoert:
catch(\TYPO3\CMS\Extbase\Property\Exception $e) {
       if ($e->getPrevious() instanceof 
\TYPO3\CMS\Extbase\Property\Exception\TargetNotFoundException) {
           $GLOBALS['TSFE']->pageNotFoundAndExit('Die gewünschte 
Stellenausschreibung wurde nicht gefunden.');
       } else {
           throw $e;
       }
   }
aber in Typo3 4.7 nicht.
ich habe folgendes probiert:
 catch(Tx_Extbase_Property_Exception $e) {

}
aber das geht leider nicht. Kann jemand mir hierbei helfen?
vielen dank!

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an