public function display_message()
{
shortcuts\set_query_flags('page');
if ($this->getPrevious()) {
$ex = $this->getPrevious();
} else {
$ex = $this;
}
shortcuts\display_template('500.html', array('exception_class' => get_class($ex), 'exception' => $ex, 'globals' => $GLOBALS, 'post' => $_POST, 'get' => $_GET, 'server' => $_SERVER));
exit;
}