Try this: throw new Zend_Controller_Action_Exception('Error exception', 404);
Should work :) Giuliano 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! > -- View this message in context: http://www.nabble.com/How-to-dispatch-a-404-error-tp22242790p22298475.html Sent from the Zend Framework mailing list archive at Nabble.com.