[TYPO3-mvc] Extbase and exceptions

Alexander Schnitzler mail at alexanderschnitzler.de
Mon Mar 5 10:19:10 CET 2012


Hey Dawid,
I am using Exceptions in my Repository and it works fine. So, could you 
provide an example via github?

Am 04.03.12 09:04, schrieb Dawid Pacholczyk:
> Hello I`m creating my own functions with exception handling. If there is
> an error in some block of my function I use
>
> throw new Exception("message");
>
> The throw is for example in my repo
>
> In controller the function that throws exceptions in in try{}catch{}
>
> BUT
>
> I can`t catch the exception. If the error occurs I get TYPO3 exception
> message. Cool but I don`t want to see this message. I want to make some
> magick in catch{} block. How can I do that ?



More information about the TYPO3-project-typo3v4mvc mailing list