NetUI Tag Library Documentation (Version 1.0.2)

netui
netui:exceptions Tag

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

Syntax

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

Description

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

Attributes
showDevModeStackTrace
Required: No  |   Type: boolean  |   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  |   Type: boolean  |   Supports runtime evaluation / JSP Expression Language: Yes

Boolean. Determines whether or not the exception message is shown. Defaults to true
showStackTrace
Required: No  |   Type: boolean  |   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" />


Tag Information
Tag Classorg.apache.beehive.netui.tags.html.Exceptions
TagExtraInfo ClassNone
Body Contentempty
Display NameNone