blob: d5ce5e8334d66a1646b84bce37a4afb2265fd7a6 [file] [log] [blame]
package lambdaExpression18_in;
import java.io.IOException;
@FunctionalInterface
interface FI {
int foo(int i) throws IOException;
default FI method(FI i1) throws InterruptedException {
return extracted(i1);
}
default FI extracted(FI i1) throws InterruptedException {
/*[*/if (i1 == null)
throw new InterruptedException();
return x -> {
throw new IOException();
};/*]*/
}
}