org.codehaus.aspectwerkz.pointcut
Class ThrowsPointcut

java.lang.Object
  extended byorg.codehaus.aspectwerkz.pointcut.AbstractPointcut
      extended byorg.codehaus.aspectwerkz.pointcut.ThrowsPointcut

public class ThrowsPointcut
extends AbstractPointcut

Implements the pointcut concept for exception handling. Is an abstraction of a well defined point of execution in the program.
Could matches one or many points as long as they are well defined.
Stores the advices for this specific pointcut.

Author:
Jonas Bonér

Constructor Summary
ThrowsPointcut(java.lang.String uuid, Expression pattern)
          Creates a new throws pointcut.
 
Method Summary
 void addPointcutDef(PointcutDefinition pointcut)
          Adds a new pointcut definition.
 
Methods inherited from class org.codehaus.aspectwerkz.pointcut.AbstractPointcut
addAdvice, addAdvices, getAdviceIndex, getAdviceIndexes, getAdviceIndexTuples, getAdviceNames, getCFlowExpression, getExpression, hasAdvice, removeAdvice, setAdviceIndexTuples, setCFlowExpression
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowsPointcut

public ThrowsPointcut(java.lang.String uuid,
                      Expression pattern)
Creates a new throws pointcut.

Parameters:
uuid - the UUID for the AspectWerkz system
Method Detail

addPointcutDef

public void addPointcutDef(PointcutDefinition pointcut)
Adds a new pointcut definition.

Parameters:
pointcut - the pointcut definition


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.