Interface ExceptionHandler<EXC extends Throwable>

Type Parameters:
EXC - the Throwable type
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 ExceptionHandler<EXC extends Throwable>
The ExceptionHandler interface provides means to handle exceptions which usually are occurring inside daemon threads and are usually hidden from the (business) logic. Such Exception instances usually just get logged, no customizable reaction upon such exceptions is possible. This interface enables to process to such Exception instances by providing a custom implementation if this interface.