/** * Exception处理 * * @param Exception $exception */ public function _exceptionHandle($exception) { restore_exception_handler(); /* @var $error WindError */ $error = $this->_app->getFactory()->getInstance('error', array($this->_config['web-apps'][$this->_appName]['error-dir'], $this->_config['isclosed'])); $error->exceptionHandle($exception); }