|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectSimpleTagSupport
AbstractSimpleTag
Exceptions
public class Exceptions
Renders formatted exception data, as found in the Request with the key:
org.apache.struts.action.Action.EXCEPTION_KEY. Exceptions ignores its
body content.
<netui:exceptions showMessage="true" showStackTrace="false" />
| Constructor Summary | |
|---|---|
Exceptions()
|
|
| Method Summary | |
|---|---|
void |
doTag()
Render the exception text based on the display attributes. |
String |
getTagName()
Return the name of the Tag. |
void |
setShowDevModeStackTrace(boolean showStackTrace)
Set whether or not the stack trace is being shown. |
void |
setShowMessage(boolean showMessage)
Set whether or not the exception message is being shown. |
void |
setShowStackTrace(boolean showStackTrace)
Set whether or not the stack trace is being shown. |
| Methods inherited from class AbstractSimpleTag |
|---|
getBufferBody, getHtmlTag, getIdForTagId, getInlineError, getPageContext, getScriptReporter, getUserLocale, hasErrors, registerTagError, registerTagError, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write |
| Methods inherited from class SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Exceptions()
| Method Detail |
|---|
public String getTagName()
getTagName in interface INetuiTaggetTagName in class AbstractSimpleTagpublic void setShowMessage(boolean showMessage)
showMessage - true or false depending on the setting desiredpublic void setShowStackTrace(boolean showStackTrace)
showStackTrace - true or false depending on the setting desiredpublic void setShowDevModeStackTrace(boolean showStackTrace)
showStackTrace - true or false depending on the setting desired
public void doTag()
throws JspException
doTag in interface SimpleTagdoTag in class SimpleTagSupportJspException - if a JSP exception has occurred
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||