T
- The bean typeE
- And the exception@FunctionalInterface
public interface BeanExceptionHandler<T,E extends java.lang.Throwable>
extends java.util.function.BiConsumer<T,E>
Modifier and Type | Method and Description |
---|---|
default void |
accept(T bean,
E throwable)
Handles the exception.
|
void |
handle(T bean,
E throwable)
Handles the exception.
|