[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] join point for throw statements
|
I am using AspectJ to build an exception-coverage tool for Java software.
Basically, the idea is to write an aspect that collects run-time information
about what exceptions were raised and where they got caught. We use the data
later to figure out how good our test cases were.
I looked around some more in the documentation and I think I can get by with the
before () throwing pointcut.
--
Mohamed
Lesiecki Nicholas wrote:
No. There are several ways to detect that a throw has occurred or might be
about to occur, but none to detect an actual throw.
Why do you need this?
Cheers,
Nick
--- "Mohamed S. Mansour" <mansour@xxxxxxxxxxxxx> wrote:
Is there a way in AspectJ to sepcify a join point for throw statements.
Note that my code may look like:
Exception e = new IOException();
throw e;
Thanks and best regards,
Mohamed Mansour
mansour@xxxxxxxxxxxxx
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users