Interface ThrowingBiConsumer<T,U>


public interface ThrowingBiConsumer<T,U>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t, U u)
     
    default BiConsumer<T,U>
    Converts this consumer to a .
  • Method Details

    • accept

      void accept(T t, U u) throws Exception
      Throws:
      Exception
    • toUnchecked

      default BiConsumer<T,U> toUnchecked()
      Converts this consumer to a . If this consumer throws a checked exception, the returned consumer wraps the former in a CompletionException.