> Thank you both for these answers!
> I indeed didn't turn on errors (which i now did in config.ini)
> And i also did'nt caught the exception, which i now solved.
>
> So : problem solved
>
> Would you people advise to always deal with every possible exception in
> Zend, this is often not done in the tutorials?
>
> Ow and btw: i am a beginner zend programmer, but have Qt(C++) en Java
> experience.
If you use a Zend_Application instance, you automatically wrap all dispatch
calls and its hooks inside a try/catch. Every exception is then forwarded to
the errorController to display a user friendly error message.
Only if you use the Zend_Acl component as standalone, you need to take care of
the exceptions yourself.
Regards, Jurian
--
Jurian Sluiman
Soflomo - http://soflomo.com
没有评论:
发表评论