public class CatchTag extends TagSupport implements TryCatchFinally
id, pageContext
EVAL_BODY_AGAIN
EVAL_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, setValue
public void setVar(java.lang.String var)
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public void doCatch(java.lang.Throwable t)
doCatch
in interface TryCatchFinally
t
- the thrown exceptionpublic void doFinally()
doFinally
in interface TryCatchFinally