Added conversion from lambdas with exceptions to Java 8 base function types