Functions.FailableBiConsumer

@Deprecated @FunctionalInterface public abstract static interface org.apache.commons.lang3.Functions.FailableBiConsumer<O1, O2, T extends Throwable>[source]

A functional interface like BiConsumer that declares a Throwable.

TODO for 4.0: Move to org.apache.commons.lang3.function.

Parameters:
  • <O1> – Consumed type 1.

  • <O2> – Consumed type 2.

  • <T> – Thrown exception.

Methods

accept(Object, Object)

Accepts the consumer.

public abstract void accept(O1 object1, O2 object2) throws T[source]

Accepts the consumer.

Parameters:
  • object1 – The first parameter for the consumable to accept

  • object2 – The second parameter for the consumable to accept

Throws:

T – Thrown when the consumer fails.