net.sf.jour.instrumentor
Class ExceptionCatcherInstrumentor

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

public class ExceptionCatcherInstrumentor
extends AbstractInstrumentor

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

Version:
$Revision: 46 $ ($Author: vlads $) $Date: 2007-08-28 14:30:40 -0400 (Tue, 28 Aug 2007) $
Author:
michaellif

Field Summary
 
Fields inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
log, pointcuts
 
Constructor Summary
ExceptionCatcherInstrumentor()
          Creates a new ExceptionCatcherInstrumentor object.
 
Method Summary
 void code(java.lang.String code)
           
 void exceptionType(java.lang.String exception)
           
 boolean instrumentClass(javassist.CtClass clazz)
           
 boolean instrumentConstructor(javassist.CtClass clazz, javassist.CtConstructor constructor)
           
 boolean instrumentMethod(javassist.CtClass clazz, javassist.CtMethod method)
           
 
Methods inherited from class net.sf.jour.instrumentor.AbstractInstrumentor
classCreated, 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

exceptionType

public void exceptionType(java.lang.String exception)

code

public void code(java.lang.String code)

instrumentClass

public boolean instrumentClass(javassist.CtClass clazz)
                        throws InterceptorException
Specified by:
instrumentClass in class AbstractInstrumentor
Throws:
InterceptorException

instrumentMethod

public boolean instrumentMethod(javassist.CtClass clazz,
                                javassist.CtMethod method)
                         throws InterceptorException
Specified by:
instrumentMethod in class AbstractInstrumentor
Throws:
InterceptorException

instrumentConstructor

public boolean instrumentConstructor(javassist.CtClass clazz,
                                     javassist.CtConstructor constructor)
                              throws InterceptorException
Specified by:
instrumentConstructor in class AbstractInstrumentor
Throws:
InterceptorException


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.