net.sf.jour.instrumentor
Class ExceptionCatcherInstrumentor

java.lang.Object
  extended bynet.sf.jour.instrumentor.AbstractInstrumentor
      extended bynet.sf.jour.instrumentor.ExceptionCatcherInstrumentor
All Implemented Interfaces:
Instrumentor

public class ExceptionCatcherInstrumentor
extends AbstractInstrumentor

TODO Add docs Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.3 $ ($Author: vlads $) $Date: 2004/12/05 02:25:20 $
Author:
michaellif

Field Summary
 
Fields inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
log
 
Constructor Summary
ExceptionCatcherInstrumentor()
          Creates a new ExceptionCatcherInstrumentor object.
 
Method Summary
 void addExceptionType(java.lang.String exception)
          DOCUMENT ME!
 boolean instrumentClass(javassist.CtClass clazz)
          DOCUMENT ME!
 boolean instrumentConstructor(javassist.CtClass clazz, javassist.CtConstructor constructor)
          DOCUMENT ME!
 boolean instrumentMethod(javassist.CtClass clazz, javassist.CtMethod method)
          DOCUMENT ME!
 
Methods inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
getCountCounstructors, getCountMethods, instrument, setPointcuts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionCatcherInstrumentor

public ExceptionCatcherInstrumentor()
Creates a new ExceptionCatcherInstrumentor object.

Method Detail

addExceptionType

public void addExceptionType(java.lang.String exception)
DOCUMENT ME!

Parameters:
exception - DOCUMENT ME!

instrumentClass

public boolean instrumentClass(javassist.CtClass clazz)
                        throws InterceptorException
DOCUMENT ME!

Specified by:
instrumentClass in class AbstractInstrumentor
Parameters:
clazz - DOCUMENT ME!
Throws:
InterceptorException - DOCUMENT ME!

instrumentMethod

public boolean instrumentMethod(javassist.CtClass clazz,
                                javassist.CtMethod method)
                         throws InterceptorException
DOCUMENT ME!

Specified by:
instrumentMethod in class AbstractInstrumentor
Parameters:
clazz - DOCUMENT ME!
method - DOCUMENT ME!
Throws:
InterceptorException - DOCUMENT ME!

instrumentConstructor

public boolean instrumentConstructor(javassist.CtClass clazz,
                                     javassist.CtConstructor constructor)
                              throws InterceptorException
DOCUMENT ME!

Specified by:
instrumentConstructor in class AbstractInstrumentor
Parameters:
clazz - DOCUMENT ME!
constructor - DOCUMENT ME!
Throws:
InterceptorException - DOCUMENT ME!


Copyright © 2004 sourceforge. All Rights Reserved.