 |
| <catch> |
|
Description
-
Catch node is very similar to the Java catch instruction. It intends to
catch an exception that may occur into a try
block and gives the oportunity to execute special instructions in this case.
See example with try and finally nodes.
Attribute Summary
Name | Default Value | Optional | Accepted Values |
---|
base | | true | | throwable | java.lang.Exception | true | |
Attribute Detail
- base
-
this is a generic block attribute that allows URI base redefinition: all
uri attributes used in children nodes of this block will be
relative to this new base definition (except if there is another child block
node that redefines a new base). This is only a convenience attribute in
order to simplify URI specifications. A base attribute must be a valid (well
formed) URI, absolute or relative to another base definition.
- throwable
-
full exception (or throwable) class name to be catched. Default is
java.lang.Exception.
Children
- catch, choose, depends, echo, filter, finally, foreach, if, remove, save, sax, source, template, try, variable
|
 |