IDEA-131658 try-catch-finally is not supported

This commit is contained in:
Egor.Ushakov
2014-10-21 18:06:04 +04:00
parent 0bcd7fba5c
commit d00bc545fe
5 changed files with 47 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
package pkg;
public class TestTryCatchFinally {
public int test(String var1) {
try {
int var2 = Integer.parseInt(var1);
return var2;
} catch (Exception var6) {
System.out.println("Error" + var6);
} finally {
System.out.println("Finally");
}
return -1;
}
}