Package nl.vpro.util

Interface ExceptionUtils.ThrowingFunction<A,R,E extends Exception>

All Superinterfaces:
Function<A,R>
Enclosing class:
ExceptionUtils
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ExceptionUtils.ThrowingFunction<A,R,E extends Exception> extends Function<A,R>
  • Method Summary

    Modifier and Type
    Method
    Description
    default R
    apply(A a)
     
     

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      default R apply(A a)
      Specified by:
      apply in interface Function<A,R>
    • applyWithException

      R applyWithException(A a) throws E
      Throws:
      E extends Exception