Woohoo! Thank you! _____
From: Jack Sleight [mailto:[EMAIL PROTECTED] Sent: 08 July 2008 13:03 Cc: fw-general@lists.zend.com Subject: Re: [fw-general] Getting my own exceptions to display in the error controller Do this: public function errorAction() { $this->view->message = $this->_request->getParam('error_handler')->exception->getMessage(); } Robert Castley wrote: Hi (again!), In my controller I throw an Exception. Using the ErrorController guide in the manual I would like to be able to display the message I put in my exception. I can't seem to get this message out as it is protected. throw new Zend_Exception('Group not found!',90); ________________________________________________________________________ This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 plc internal virus protection system. ________________________________________________________________________ -- Jack ________________________________________________________________________ This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 plc internal virus protection system. ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 plc internal virus protection system. ________________________________________________________________________