net.sourceforge.sqlunit.handlers
Class ExceptionHandler

java.lang.Object
  extended by net.sourceforge.sqlunit.handlers.ExceptionHandler
All Implemented Interfaces:
IHandler

public class ExceptionHandler
extends java.lang.Object
implements IHandler

The Exception Handler parses a JDOM Element representing an exception tag and returns an ExceptionBean object.

Version:
$Revision: 1.6 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
ExceptionHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elException)
          Processes the JDOM Element representing the param tag returns the Exception object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandler

public ExceptionHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elException)
                               throws java.lang.Exception
Processes the JDOM Element representing the param tag returns the Exception object.

Specified by:
process in interface IHandler
Parameters:
elException - the JDOM Element representing the param tag.
Returns:
a Exception object. Client needs to cast to a Exception.
Throws:
java.lang.Exception - if something went wrong processing the param.