Debian Codegraph @

framework/tests/all-systems/Catch.java

raw
1 class Catch {
2 void defaultUnionType() throws Throwable {
3 try {
4 throw new Throwable();
5 } catch (IndexOutOfBoundsException | NullPointerException ex) {
6
7 }
8 }
9
10 void defaultDeclaredType() throws Throwable {
11 try {
12 throw new Throwable();
13 } catch (RuntimeException ex) {
14
15 }
16 }
17 }