zendframework/zf2 — pull request #670 by juriansluiman (2011-12-17 19:24:15+00:00)
Title: Do not set exception when controller is not Dispatchable

In the Zend\Mvc\Application::dispatch() method, there is no exception available when the controller is not a Dispatchable controller. Therefore it makes no sense to set it.