blob: ab28d7484f4d04cd542eaa701185f3678d042b29 (
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(<caret>e);
}
}
public void f() { }
}
|