customization template for catch block parameter (IDEA-125327; IDEA-116670)

This commit is contained in:
Anna.Kozlova
2018-11-02 12:00:24 +01:00
parent c0a9f3d946
commit 6b54c8047b
8 changed files with 87 additions and 2 deletions
@@ -0,0 +1,10 @@
class ModuleATest {
{
Exception ex = null;
f<caret>oo();
Exception ex1 = null;
}
void foo() throws Smth {}
static class Smth extends Exception {}
}
@@ -0,0 +1,14 @@
class ModuleATest {
{
Exception ex = null;
try {
foo();
} catch (final Smth ex1) {
ex1.printStackTrace();
}
Exception ex1 = null;
}
void foo() throws Smth {}
static class Smth extends Exception {}
}