[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] Handler advice


If I have handler advice like the following:

public aspect DefaultExceptionHandlerAspect
	pointcut classList() : 
		within(com.capitalone.risk.service.xml..*) ||
	before(Throwable e) : 
		&& handler(*)
		&& args(e)
		log(thisJoinPointStaticPart, e);	
	private void log(JoinPoint.StaticPart jp, Throwable e)

Does the before advice supplement the code in the catch block (which I would
expect) or override it?

Thanks in advance,

The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.