de.team33.libs.exceptional.v3.XBiConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lib-exceptional Show documentation
Show all versions of lib-exceptional Show documentation
Provides wrapping and unwrapping checked exceptions.
package de.team33.libs.exceptional.v3;
/**
* 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 argument.
*
* @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