public class CatchTag extends TagSupport implements TryCatchFinally
id, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
CatchTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
doCatch(java.lang.Throwable t)
Process the catch.
|
void |
doFinally()
Process the catch.
|
int |
doStartTag()
Process the tag.
|
void |
setVar(java.lang.String var)
Sets the variable to assign
|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValuepublic void setVar(java.lang.String var)
public int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class TagSupportJspExceptionpublic void doCatch(java.lang.Throwable t)
doCatch in interface TryCatchFinallyt - the thrown exceptionpublic void doFinally()
doFinally in interface TryCatchFinally