Package utility.function
Interface ExceptionalFunction<I,R,E extends Throwable>
- Type Parameters:
I
- the input typeR
- the result typeE
- the exception of your choice
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A generic functional interface that allows you to consume an item, return a result,
and potentially throw an exception.