Files
openide/java/java-tests/testData/refactoring/changeSignaturePropagation/ExceptionSimple.java.after
Anna Kozlova 724ed16f6f [java] replace default catch block template (IDEA-161593)
`throw e` won't fix the compilation error, comment - is not really better than empty catch block.

GitOrigin-RevId: ea002c332900b032392e766f3dd13fe3258ad49c
2022-01-14 20:39:23 +00:00

16 lines
254 B
Plaintext

class ChangeSignatureTest {
void foo() throws Exception {
}
void bar() throws Exception {
foo();
}
{
try {
bar();
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}