mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
customization template for catch block parameter (IDEA-125327; IDEA-116670)
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
class ModuleATest {
|
||||
{
|
||||
Exception ex = null;
|
||||
f<caret>oo();
|
||||
Exception ex1 = null;
|
||||
}
|
||||
|
||||
void foo() throws Smth {}
|
||||
static class Smth extends Exception {}
|
||||
}
|
||||
+14
@@ -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 {}
|
||||
}
|
||||
Reference in New Issue
Block a user