blob: 20fb7bf39170bfafcf1fc9db005c8d43b9d6e16a [file] [log] [blame]
package p; //14, 13, 14, 15
import java.io.FileNotFoundException;
import java.io.InterruptedIOException;
class A {
public void foo(int a) throws Exception {
try {
if (a < 10)
throw new FileNotFoundException();
else if (a < 20)
throw new InterruptedIOException();
} catch (FileNotFoundException | InterruptedIOException ex) {
ex.printStackTrace();
}
}
}