|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
org.loom.tags.exception.ExceptionTag
@Tag(bodyContent=EMPTY) public class ExceptionTag
Display an http error or exception to the user. This tag delegates to ErrorRenderer.
| Constructor Summary | |
|---|---|
ExceptionTag()
|
|
| Method Summary | |
|---|---|
void |
doTag()
|
void |
setDetailTag(java.lang.String messageTag)
The HTML tag used to render the detail message (explanation of this error), empty or null to skip error message, default div |
void |
setLogRequest(boolean logRequest)
true to log the request contents (headers, parameters, attributes) when logging any exception, default false |
void |
setMessageTag(java.lang.String messageTag)
Deprecated. use setTitleTag instead |
void |
setTitleTag(java.lang.String messageTag)
The HTML tag used to render the error message (exception message or http error message), empty or null to skip error message, default h1 |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionTag()
| Method Detail |
|---|
public void doTag()
throws javax.servlet.jsp.JspException,
java.io.IOException
doTag in interface javax.servlet.jsp.tagext.SimpleTagdoTag in class javax.servlet.jsp.tagext.SimpleTagSupportjavax.servlet.jsp.JspException
java.io.IOException@Attribute public void setLogRequest(boolean logRequest)
@Attribute public void setMessageTag(java.lang.String messageTag)
@Attribute public void setTitleTag(java.lang.String messageTag)
@Attribute public void setDetailTag(java.lang.String messageTag)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||