|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.bea.wlw.netui.tags.html.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.
Attribute Descriptions | |||
---|---|---|---|
Attribute | Required | Runtime Expression Evaluation | Data Bindable |
showMessage | No | No | No |
Determines whether or not the message of the exception should be shown | |||
showStackTrace | No | No | No |
Returns whether or not the stack trace is being shown |
<netui:exceptions showMessage="true" showStackTrace="false" />
Field Summary | |
---|---|
protected boolean |
showMessage
Determines whether or not the message of the exception should be shown. |
protected boolean |
showStackTrace
Determines whether or not the stack trace of the exception should be shown. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
Exceptions()
|
Method Summary | |
---|---|
int |
doStartTag()
Render the exception text based on the display attributes. |
boolean |
getShowMessage()
Returns whether or not the exception message is being shown. |
boolean |
getShowStackTrace()
Returns whether or not the stack trace is being shown. |
protected void |
localRelease()
Release any acquired resources. |
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 javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean showMessage
protected boolean showStackTrace
Constructor Detail |
---|
public Exceptions()
Method Detail |
---|
public boolean getShowMessage()
public void setShowMessage(boolean showMessage)
showMessage
- - true or false depending on the setting desiredtrue
public boolean getShowStackTrace()
public void setShowStackTrace(boolean showStackTrace)
showStackTrace
- - true or false depending on the setting desiredfalse
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredprotected void localRelease()
|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |