Module me.linusdev.data
Package de.linusdev.data.functions
Interface ExceptionSupplier<K,D extends AbstractData<K,?>,E extends Throwable>
- Type Parameters:
K- keyD- dataE- throwable
- 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 ExceptionSupplier<K,D extends AbstractData<K,?>,E extends Throwable>
-
Method Summary
-
Method Details
-
supply
Supplies the throwableExceptionSupplier.- Parameters:
data-AbstractDatathat caused the exception.key-keythat caused the exception.- Returns:
- instance of
ExceptionSupplier.
-