mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
19 lines
427 B
Java
19 lines
427 B
Java
class A {
|
|
static class MyException extends Exception{ MyException(){ super(); } }
|
|
|
|
void foo() {
|
|
String s = "";
|
|
try {
|
|
<selection>s = "a";
|
|
bar();</selection>
|
|
s = "b";
|
|
bar();
|
|
} catch (MyException e) {
|
|
throw new RuntimeException(s, e);
|
|
}
|
|
}
|
|
|
|
void bar() throws MyException {
|
|
if (true) throw new MyException();
|
|
}
|
|
} |