All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.team33.patterns.exceptional.dione.XBiConsumer Maven / Gradle / Ivy

Go to download

Contains variants of basic functional constructs that can throw checked exceptions, tools for converting them to their more manageable counterparts, exception types useful for this, and some tools for exception handling.

There is a newer version: 1.20.0
Show newest version
package de.team33.patterns.exceptional.dione;

/**
 * A kind of consumer that allows to throw a checked exception.
 *
 * @see java.util.function.BiConsumer
 */
@FunctionalInterface
public interface XBiConsumer {

    /**
     * Performs this operation on the given arguments.
     *
     * @throws X if so.
     * @see java.util.function.BiConsumer#accept(Object, Object)
     */
    void accept(T t, U u) throws X;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy