Class FunctionWithExceptions
- java.lang.Object
-
- com.google.auto.value.extension.serializable.serializer.runtime.FunctionWithExceptions
-
public final class FunctionWithExceptions extends Object
A utility for lambdas that throw exceptions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFunctionWithExceptions.FunctionWithException<I,O>A function that can throw an exception.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <I,O>
Function<I,O>wrapper(FunctionWithExceptions.FunctionWithException<I,O> fe)Creates a wrapper for lambdas that converts checked exceptions to runtime exceptions.
-
-
-
Method Detail
-
wrapper
public static <I,O> Function<I,O> wrapper(FunctionWithExceptions.FunctionWithException<I,O> fe)
Creates a wrapper for lambdas that converts checked exceptions to runtime exceptions.
-
-