summaryrefslogtreecommitdiffstats
path: root/tests/features151/swallowedExceptions/SwallowedException.java
blob: db1b1849ff55091da27c69dcf1a43278ff6553d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public class SwallowedException {
	
	public void foo() throws Exception {
		throw new Exception("ta da!");
	}
	
	public void bar() {
		try {
			foo();
		}
		catch(Exception ex) {
			// yum yum
		}
	}
	
	
}