# <netui:exceptions> Tag

This tag renders exception messages and stack traces inline on the JSP page.

## Syntax

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

## Description

This tag renders exception messages and stack traces inline on the JSP page.

## Attributes

showMessage | Boolean. Determines whether or not the exception message is shown. Defaults to `true`
Required | Supports runtime expression evaluation | Data bindable
No | No | No
showStackTrace | Boolean. Determines whether or not the stack trace is shown. Defaults to `false`
Required | Supports runtime expression evaluation | Data bindable
No | No | No

## Sample

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

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

## Code Sample

[BEA_HOME]/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui/exceptions/

## Related Topics

<netui:exceptions> Tag Sample