- Type Parameters:
T - the function argument type
R - the function result type
- All Superinterfaces:
Function<T,R>
public interface CheckedFunction<T,R>
extends Function<T,R>
A function interface that automatically wraps any exceptions.
- Author:
- Ramsey Gurley
-
Method Summary
Same as
apply
except Exceptions may be thrown.
-
Method Details
-
-
applies
Same as
apply
except Exceptions may be thrown.
- Parameters:
arg - the function argument
- Returns:
- the function result
- Throws:
Exception - an exception