View difference between Paste ID: DiLeRttY and 6gFGwsVC
SHOW: | | - or go back to the newest paste.
1
void foo() {
2
	throw new SomeRandomException()
3
}
4
5
void bar() {
6
	try {
7
		foo()
8
	} catch (SomeRandomException e) {
9
		// Wird ausgeführt
10
		throw new AnotherException()
11-
	// Wird ausgeführt
11+
		// Wird nicht ausgeführt
12
	}
13
	// Wird nicht ausgeführt
14
}