Package io.micronaut.core.exceptions
Interface ExceptionHandler<T extends java.lang.Throwable>
-
- Type Parameters:
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 ExceptionHandler<T extends java.lang.Throwable>
Common interface for types that handle exceptions.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(T exception)
Handle the given exception.
-
-
-
Method Detail
-
handle
void handle(T exception)
Handle the given exception.- Parameters:
exception
- The exception to handle
-
-