aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1923/gh326/pkg/BusinessService.java
blob: 10d98400fe4ba37c0104f462ddd246505f88f417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package pkg;

public class BusinessService {

	@HandleSourceException(message="42")
	public BusinessDto doSomething() throws TargetException {
		return new BusinessDao<BusinessDto>().doSomething();
	}


public static void main(String []argv) throws TargetException {
try {
	new BusinessService().doSomething();
} catch (TargetException te) {
	System.out.println(te.getMessage());
}
}
}