|
|
@@ -946,8 +946,7 @@ class Zend_Controller_Front
|
|
|
$dispatcher->dispatch($this->_request, $this->_response);
|
|
|
} catch (Exception $e) {
|
|
|
if ($this->throwExceptions()) {
|
|
|
- require_once 'Zend/Controller/Exception.php';
|
|
|
- throw new Zend_Controller_Exception($e->getMessage(), $e->getCode(), $e);
|
|
|
+ throw $e;
|
|
|
}
|
|
|
$this->_response->setException($e);
|
|
|
}
|
|
|
@@ -959,8 +958,7 @@ class Zend_Controller_Front
|
|
|
} while (!$this->_request->isDispatched());
|
|
|
} catch (Exception $e) {
|
|
|
if ($this->throwExceptions()) {
|
|
|
- require_once 'Zend/Controller/Exception.php';
|
|
|
- throw new Zend_Controller_Exception($e->getMessage(), $e->getCode(), $e);
|
|
|
+ throw $e;
|
|
|
}
|
|
|
|
|
|
$this->_response->setException($e);
|
|
|
@@ -973,8 +971,7 @@ class Zend_Controller_Front
|
|
|
$this->_plugins->dispatchLoopShutdown();
|
|
|
} catch (Exception $e) {
|
|
|
if ($this->throwExceptions()) {
|
|
|
- require_once 'Zend/Controller/Exception.php';
|
|
|
- throw new Zend_Controller_Exception($e->getMessage(), $e->getCode(), $e);
|
|
|
+ throw $e;
|
|
|
}
|
|
|
|
|
|
$this->_response->setException($e);
|