|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.PageNode org.japano.pagenode.jstl.core.Catch
public class Catch
Catches any Throwable that occurs in its body and optionally exposes it.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.japano.PageNode |
---|
PageNode.Output |
Field Summary | |
---|---|
java.lang.String |
var
|
Fields inherited from class org.japano.PageNode |
---|
children, context, EMPTY, nodeId, parent |
Constructor Summary | |
---|---|
Catch()
|
Method Summary | |
---|---|
void |
generate(Buffer out)
Catches any throwable and sets the configured variable to throwable caught. |
void |
setVar(java.lang.String var)
The name of the scoped variable in which a caught exception is exported. |
Methods inherited from class org.japano.PageNode |
---|
findChildren, findParent, findRootNode, generateChildren, getChildren, getContext, getNodeId, getParent, init, recInit, release, setChildren, setContext, setNodeId, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String var
Constructor Detail |
---|
public Catch()
Method Detail |
---|
public void setVar(java.lang.String var)
public void generate(Buffer out)
generate
in class PageNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |