IDEA-131658 try-catch-finally is not supported
This commit is contained in:
16
testData/results/TestTryCatchFinally.dec
Normal file
16
testData/results/TestTryCatchFinally.dec
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user