blob: 7835cfb40ae919770c58d7a0682c9320af515c5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// "Add 'Exception' as 1st parameter to method 'f'" "true"
import java.io.FileInputStream;
import java.io.IOException;
class Test {
public void createFileInputStream() {
try {
new FileInputStream("test");
} catch (IOException |NullPointerException e) {
f(e);
}
}
public void f(Exception e) { }
}
|