Why do you set an exception when you tell the response that an exception occured? This sounds weird.
You want to disable access to some resources? Forward the request to (maybe) ErrorController::aclAction or simply put the json output in the response body and setDispatched=true -- View this message in context: http://www.nabble.com/Proper-way-to-stop-a-request-from-preDispatch---tp25108403p25133320.html Sent from the Zend Framework mailing list archive at Nabble.com.
