Ejen Logo
 
   <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
 
NameDefault ValueOptionalAccepted Values
base true 
throwablejava.lang.Exceptiontrue 

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


SourceForge.net Logo