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);
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