The exception you are looking for is Zend_Controller_Dispatcher_Exception.

If you are using the included error handler infrastructure, and your error controller is based of the examples, this will result in a 404.

On 27/02/2009 2:07 AM, gllop wrote:
I'm trying to thow a Zend_Controller_Action_Exception to dispatch a 404 page
error. The ErrorController and the Plugin_Handler instance are already
implemented but I don't know how can i exactly dispatch the exception. I
supose it will be something like:
throw new Zend_Controller_Action_Exception('Error exception');

But this don't render my corresponent 404 page. I get only "Error exception"
message.

Any help would be apreciated. Thx!

Reply via email to