Files
openide/java/java-tests/testData/refactoring/changeSignature/LessSpecificException_after.java

13 lines
278 B
Java

class Test {
int foo() throws Exception { return 1;}
void fooBar() throws IllegalArgumentException{
int a = 0;
try {
a = foo();
} catch (Exception e) {
e.printStackTrace();
}
System.out.println(a);
}
}