mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
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>
|
|
}
|
|
}
|
|
}
|