mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
14 lines
287 B
Java
14 lines
287 B
Java
// "Add 'catch' clause(s)" "true-preview"
|
|
class a {
|
|
void g() throws Exception {
|
|
}
|
|
void f() {
|
|
try {
|
|
g();
|
|
} catch (Error e) {
|
|
} catch (Exception e) {
|
|
<caret><selection>throw new RuntimeException(e);</selection>
|
|
}
|
|
}
|
|
}
|