public function exceptionAction(FlattenException $exception)
{
$this->view->status_code = $exception->getStatusCode();
$this->view->message = $exception->getMessage();
$this->view->file = $this->getShortFileName($exception->getFile());
$this->view->line = $exception->getLine();
$this->view->trace = $this->parseTrace($exception->getTrace());
return $this->renderTo('@HideksFramework/templates/exception.html');
}