2009/3/18 vadim gavrilov <[email protected]>

> How can i create custom exceptions such such as ToolsException(); to lunch
> a certain controller that will display an error within the current layout
> content displayed? I mean the current exception handler removes all content
> i would like to do something similar just style the way it's displayed?
>

I do instanceof on the exception captured in error controller after set
throwExceptions(false) on front controller in bootstrap. You can find
examples in the reference manual for Zend_Controller component.


-- 
Giorgio Sironi
Piccolo Principe & Ossigeno Scripter
http://ossigeno.sourceforge.net

Reply via email to