diff options
Diffstat (limited to 'plugins/typeMigration/testData/refactoring/typeMigration/t128/before/test.java')
-rw-r--r-- | plugins/typeMigration/testData/refactoring/typeMigration/t128/before/test.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/typeMigration/testData/refactoring/typeMigration/t128/before/test.java b/plugins/typeMigration/testData/refactoring/typeMigration/t128/before/test.java new file mode 100644 index 000000000000..33bb6bf973c1 --- /dev/null +++ b/plugins/typeMigration/testData/refactoring/typeMigration/t128/before/test.java @@ -0,0 +1,16 @@ +class Test { + static class E extends Exception { } + static class E1 extends E { } + static class E2 extends E { } + + void m(boolean f) { + try { + if (f) + throw new E1(); + else + throw new E2(); + } catch (E1 | E2 e) { + e.printStackTrace(); + } + } +}
\ No newline at end of file |