Community
Participate
Working Groups
The code below is in conflict with what is mentioned on pages 78-79 about the fact that it is not possible for get join points to throw a FileNotFoundException (or any checked exception for that matter). public aspect Test { int i; pointcut h() : get(int Test.i); before() throws java.io.FileNotFoundException : h(){ throw new java.io.FileNotFoundException(); } after() throws java.io.FileNotFoundException : h(){ throw new java.io.FileNotFoundException(); } void around() throws java.io.FileNotFoundException : h(){ throw new java.io.FileNotFoundException(); } }
thanks for catching this before the 1.1 candidate release. it is fixed in the tree and in that release