mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-10 03:26:54 +07:00
9c6aeba5b4
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
17 lines
326 B
Java
17 lines
326 B
Java
// "Add 'catch' clause(s)" "true-preview"
|
|
class a {
|
|
void g() throws Exception {
|
|
}
|
|
|
|
// initializer
|
|
{
|
|
try {
|
|
// comment before
|
|
g();
|
|
// comment after
|
|
} catch (Exception e) {
|
|
<caret><selection>throw new RuntimeException(e);</selection>
|
|
}
|
|
}
|
|
}
|