Package com.nomagic.utils
Interface ErrorHandler<T extends java.lang.Exception>
-
- Type Parameters:
T
- type of exception
@OpenApiAll public interface ErrorHandler<T extends java.lang.Exception>
General purpose exception handler. Handler is used in components which has no ability to decide how to handle errors. Handler may ignore, log exception or re throw it or do anything else.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
error(T e)
Handles exception.
-