From: Ludwig Ruderstaller Date: Wed, 3 Oct 2012 11:15:39 +0000 (+0200) Subject: copied recursive exception functionality from error/index.phtml to error/404.phtml X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;ds=sidebyside;h=e272f29a838d01d357d8c6e1328ff8ffe34b8ce6;p=zf2.biz%2Fapplication_blanche.git copied recursive exception functionality from error/index.phtml to error/404.phtml --- diff --git a/module/Application/view/error/404.phtml b/module/Application/view/error/404.phtml index 3edd37a..323733d 100644 --- a/module/Application/view/error/404.phtml +++ b/module/Application/view/error/404.phtml @@ -46,16 +46,62 @@ if (isset($this->controller_class) -exception) && $this->exception): ?> +display_exceptions) && $this->display_exceptions): ?> -

translate('Exception') ?>:

+exception) && $this->exception instanceof Exception): ?> +
+

translate('Additional information') ?>:

+

exception); ?>

+
+
translate('File') ?>:
+
+
exception->getFile() ?>:exception->getLine() ?>
+
+
translate('Message') ?>:
+
+
exception->getMessage() ?>
+
+
translate('Stack trace') ?>:
+
+
exception->getTraceAsString() ?>
+
+
+exception->getPrevious(); + if ($e) : +?> +
+

translate('Previous exceptions') ?>:

+ + -

escapeHtml($this->exception->getMessage()) ?>

+ -

translate('Stack trace') ?>:

+

translate('No Exception available') ?>

-
-exception->getTraceAsString() ?>
-
+