blob: 9cbc666dc7e0fd5eb2e1a127bdd962bca1318d30 [file]
class A {
static class MyException extends Exception{ MyException(){ super(); } }
void foo() {
String s = "";
try {
s = "a";
<selection>bar();
s = "b";</selection>
bar();
} catch (MyException e) {
throw new RuntimeException(s, e);
}
}
void bar() throws MyException {
if (true) throw new MyException();
}
}