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

au.net.causal.maven.plugins.boxdb.ExceptionalConsumer Maven / Gradle / Ivy

There is a newer version: 3.3
Show newest version
package au.net.causal.maven.plugins.boxdb;

/**
 * An operation that takes a single argument and does not return anything, possibly throwing a checked exception.
 *
 * @param  the argument type.
 * @param  the exception type.
 *
 * @see java.util.function.Consumer
 */
@FunctionalInterface
public interface ExceptionalConsumer
{
    /**
     * Performs this operation on the given argument.
     *
     * @param t the input argument
     *
     * @throws E if an error occurs.
     */
    void accept(T t)
    throws E;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy