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

com.github.lokic.javaext.func.sneakythrows.SneakyThrowConsumer1 Maven / Gradle / Ivy

package com.github.lokic.javaext.func.sneakythrows;

import lombok.SneakyThrows;

import java.util.function.Consumer;

@FunctionalInterface
public interface SneakyThrowConsumer1 extends Consumer {

    void throwableAccept(T t) throws Exception;

    @SneakyThrows
    @Override
    default void accept(T t) {
        throwableAccept(t);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy