mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 00:19:11 +07:00
GitOrigin-RevId: 2783c4072f4d1a0b35f8f0809b4ba5b920173055
15 lines
375 B
Java
15 lines
375 B
Java
class C {
|
|
void test(int n) {
|
|
String s = switch (n) {
|
|
case 1 -> /*0*/{
|
|
try {
|
|
/*1*/
|
|
throw new /*2*/RuntimeException("a")/*3*/;/*4*/
|
|
} catch (RuntimeException e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
default -> "";
|
|
};
|
|
}
|
|
} |