protected function _outputMessageSafe($template) {
		$this->controller->layoutPath = null;
		$this->controller->subDir = null;
		$this->controller->viewPath = 'Errors';
		$this->controller->layout = 'CakeTheme.error';
		$this->controller->helpers = array('Form', 'Html', 'Session');

		if (!empty($template)) {
			$template = 'CakeTheme.' . $template;
		}
		$view = new View($this->controller);
		$this->controller->response->body($view->render($template, 'CakeTheme.error'));
		$this->controller->response->type('html');
		$this->controller->response->send();
	}