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

This commit is contained in:
Anna.Kozlova
2016-12-05 19:58:50 +01:00
parent aa5275a82a
commit 57ec346668
3 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
class ErrorTest {
private void m() {
try {
throw new Error();
}
catch (Exception x) {
throw x;
}
}
}