org.oXML.engine.template
Class CatchTemplate

java.lang.Object
  extended byorg.oXML.engine.template.CatchTemplate
All Implemented Interfaces:
Template

public class CatchTemplate
extends java.lang.Object
implements Template


Constructor Summary
CatchTemplate(Template content, java.util.List exceptions, Expression handler)
           
 
Method Summary
protected  boolean doCatch(Type type)
           
protected  Node handle(Node exception, RuntimeContext ctxt)
           
 void process(RuntimeContext ctxt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchTemplate

public CatchTemplate(Template content,
                     java.util.List exceptions,
                     Expression handler)
Method Detail

doCatch

protected boolean doCatch(Type type)

process

public void process(RuntimeContext ctxt)
             throws ObjectBoxException
Specified by:
process in interface Template
Throws:
ObjectBoxException

handle

protected Node handle(Node exception,
                      RuntimeContext ctxt)
               throws ObjectBoxException
Throws:
ObjectBoxException