Interface Functions.BiFunctionWithError<A,​B,​R>

  • All Superinterfaces:
    BiFunction<A,​B,​R>
    Enclosing class:
    Functions

    public static interface Functions.BiFunctionWithError<A,​B,​R>
    extends BiFunction<A,​B,​R>
    An extension of BiFunction that allows functional code to throw an exception.

    If used in a context not expecting this class, the error will be caught, logged, and re-thrown.