aboutsummaryrefslogtreecommitdiffstats
path: root/tests/design/intro/ExceptionsCP.java
blob: 92d0b9b27e87fe7888f05f208072da03cfbfb581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import org.aspectj.testing.Tester;

import java.io.IOException;

public class ExceptionsCP {
    public static void main(String[] args) {
        C c = new C();
        try {
        	c.foo();
        } catch (IOException io) {}
        c.bar();
    }
}
class Root {
	public void bar() {}
}

class C extends Root {
	
}


aspect A {
	public void C.foo() throws IOException { }
}