precise rethrow: special case for catch Exception (IDEA-164241)

This commit is contained in:
Anna.Kozlova
2016-12-06 12:13:22 +01:00
parent aa5275a82a
commit 57ec346668
3 changed files with 15 additions and 2 deletions
@@ -0,0 +1,10 @@
class ErrorTest {
private void m() {
try {
throw new Error();
}
catch (Exception x) {
throw x;
}
}
}