Package me.saro.kit.functions
Interface ThrowableConsumer<T>
- Type Parameters:
T- input parameter type T
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ThrowableConsumer<T>
Throwable
Consumer- Since:
- 1.0.0
- Author:
- PARK Yong Seo
- See Also:
Consumer
-
Method Summary
Modifier and Type Method Description voidaccept(T t)static <T> java.util.function.Consumer<T>wrap(ThrowableConsumer<T> consumer)throws Exception lambda to throws RuntimeException lambda