<
From version < 55.1 >
edited by Thomas Mortagne
on 2014/10/15
To version < 55.2 >
edited by Eduard Moraru
on 2014/10/16
>
Change comment: Renamed #displayUnexpectedException to #displayUnhandledException

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.enygma
Content
... ... @@ -130,7 +130,7 @@
130 130  
131 131  == Ability to catch Exceptions from Velocity ==
132 132  
133 -A new Velocity Directive has been added to catch Exceptions from Velocity. In addition a new ###displayUnexpectedException()## velocity macro has also been added to nicely display an exception to the user.
133 +A new Velocity Directive has been added to catch Exceptions from Velocity. In addition a new ###displayUnhandledException()## velocity macro has also been added to nicely display an exception to the user.
134 134  
135 135  For example:
136 136  
... ... @@ -155,7 +155,7 @@
155 155  ...
156 156  <div id="xwikicontent">
157 157   #if ("$!exception" != '')
158 - #displayUnexpectedException($exception)
158 + #displayUnhandledException($exception)
159 159   #else
160 160   $renderedContent
161 161   #end

Get Connected