<netui:exceptions> Tag

Renders exception messages and stack traces inline on the JSP page.

Syntax

<netui:exceptions
    [showDevModeStackTrace="showDevModeStackTrace"]
    [showMessage="showMessage"]
    [showStackTrace="showStackTrace"] />

Description

Renders exception messages and stack traces inline on the JSP page.

Attributes
showDevModeStackTrace
Required: No  |   Supports runtime evaluation / JSP Expression Language: Yes

Boolean. Determine if the stack trace is display only when dev mode is on. Default is true.
showMessage
Required: No  |   Supports runtime evaluation / JSP Expression Language: Yes

Boolean. Determines whether or not the exception message is shown. Defaults to true
showStackTrace
Required: No  |   Supports runtime evaluation / JSP Expression Language: Yes

Boolean. Determines whether or not the stack trace is shown. Defaults to false

 
Example

In this sample, the <netui:exceptions> tag will output the exception title and message, but not the stacktraces.

<netui:exceptions showMessage="true" showStackTrace="false" />