public function renderTemplate() { $smarty = new Smarty3(); $smarty->assign("Exception", $this->exception); $smarty->assign("Dev", $this->dev); $smarty->assign("Lines", $this->getLines()); $html = $smarty->fetch($this->template); return $html; }