blob: 181eda4dfb0174d747fde1091528e802031b67e4 [file] [log] [blame]
package try17_in;
import java.io.FileNotFoundException;
import java.io.InterruptedIOException;
public class A_test2 {
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();/*]*/
}
}
}