Posts:
2
From:
PT
Registered:
8/30/09
|
|
|
|
Exception handler join points
Posted:
Aug 30, 2009 12:36 PM
|
|
Greetings.
Releases of AspectJ, previous to version 5, didn't support after and around advice for exception handler join points.
Do AspectJ 5 and 6 already support after and around advice for this type of join points?
Thanks.
|
|
Posts:
170
From:
Princeton, NJ
Registered:
12/7/03
|
|
|
|
Re: Exception handler join points
Posted:
Aug 30, 2009 12:38 PM
in response to:
ALima
|
|
They don't and unlikely to do so anytime soon. The issue there is how Java byte code makes it impossible to determine the end of a catch block.
-Ramnivas
|
|
Posts:
2
From:
PT
Registered:
8/30/09
|
|
|
|
Re: Exception handler join points
Posted:
Aug 30, 2009 12:42 PM
in response to:
ramnivas
|
|
Thanks for the quick reply.
Do you think that information is worth mentioning in your book? I've searched both editions and couldn't find info on that subject.
Regards.
|
|
Posts:
170
From:
Princeton, NJ
Registered:
12/7/03
|
|
|
|
Re: Exception handler join points
Posted:
Sep 9, 2009 2:47 PM
in response to:
ALima
|
|
I had this information in an earlier draft, but removed it (along with a lot of other material) to keep focus on practical issues.
-Ramnivas
|
|
Posts:
1
From:
China
Registered:
10/9/10
|
|
|
|
Re: Exception handler join points
Posted:
Oct 9, 2010 10:51 PM
in response to:
ramnivas
|
|
speak honestly,I can not understand the "hangler()" clearly, and what its use in a project? I hope you may give me a small example to explain that! thank you
|
|
|
Legend
|
|
Gold: 300
+
pts
|
|
Silver: 100
- 299
pts
|
|
Bronze: 25
- 99
pts
|
|
Manning Author
|
|
Manning Staff
|
|