aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs165/pr277959/AOPTest.java
blob: 593e6a3d56a17fd0b8b65050513d1554e0536ea4 (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
26
27
28
29
30
31
32
/*
 * AOPTest
 * Copyright (c) 2001-2006 MessageOne Inc.
 */
package example;

public class AOPTest {
    public static void doSomething() {}

    public static void cleanup() {
        try {
            doSomething();
            doSomething();
        } catch(Exception ex) {
            // ignore
        }
    }
    public static void cleanup2() {
        try {

            doSomething();
        } catch(Exception ex) {
            // ignore
        }
    }


    public static void main(String[] args) throws Throwable {
        AOPTest.cleanup();
    }
}